📄 delemt.java
字号:
package myList;
public class DElemT
{
String title;
DElemT next; // and reference to next element
DElemT previous;
Elem ref;
DElemT() // constructor
{
title = new String();
next = null;
previous = null;
}
public static DElemT makeDElemT(Elem e)
{
DElemT h;
String i = new String();
i = e.title;
h = new DElemT();
h.setTitle(i);
return h;
}
public void setTitle(String t){title = t;}
public void setNext(DElemT n){next = n;}
public void setPrevous(DElemT n){previous = n;}
public String getTitle(){return title;}
public DElemT getNext(){return next;}
public DElemT getPrevous(){return previous;}
//public String toString(){return data + " ";}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -