📄 elem.java
字号:
public class Elem implements Cloneable
{
private int e;
private Elem next;
Elem(){e=0;next=null;}
Elem(int e){this.e=e;next=null;}
void setE(int e){this.e=e;}
public Elem getNext()
{return next;}
public void setNext(Elem next)
{this.next=next;}
public int getE(){return e;}
public int getLong()
{
Elem t=this;
int i=0;
while(t!=null){i++;}
return i;
}
public String toString(){return " "+e;}
/*
public Object clone() throws CloneNotSupportedException
{
Elem c=(Elem)super.clone();
c.e=(int)e.clone();
c.next=null;
return c;
}
*/
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -