📄 hasilicas.java
字号:
package empress;
/**
* <p>Title:Empresses </p>
*
* <p>Description:Empresses Show Software </p>
*
* <p>Copyright: Copyright (c) 2004</p>
*
* <p>Company:Bluebell </p>
*
* @authorJamy not attributable
* @version 1.0
*/
public class Hasilicas {
private Hasilica Head = null;//point the first map
private Hasilica Tail = null;//point the last map
Hasilica mpp;
private long Length = 0;//record the page of the maps
int empressNumber;
public Hasilicas()
{
}
public Hasilicas(int empressNumber)
{
this.empressNumber = empressNumber;
}
public long getLength()
{
return Length;
}
public Hasilica getHead()
{
return Head;
}
public Hasilica getTail()
{
return Tail;
}
public void record(Hasilica ha)
{
if(Length == 0)//if it is the first map
{
this.Head = ha;
this.Tail = ha;
}
else
{
this.Tail.setNext(ha);
ha.prev = Tail;
this.Tail = ha;
}
this.Length++;
}
/*public void showRecords()
{
MapPage current;
current = Head;
int j = 1;
while(current != null)
{
for(int i = 0; i < empressNumber; i++)
{
System.out.print("[" + current.mapPage[0][i] + "/" + current.mapPage[1][i] + "]");
}
System.out.println("***"+ j);
current = current.getNext();
j++;
}
}*/
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -