📄 information.java
字号:
import java.io.*;
public class Information implements java.io.Serializable
{
protected String userName;
protected int score;
protected Information next;
public Information(String pName,int pScore)
{
this.userName=pName;
this.score=pScore;
this.next=null;
}
public Information(String pName,int pScore,Information pNext)
{
this.userName=pName;
this.score=pScore;
this.next=pNext;
}
public Information()
{
this(null,-1);
}
public void setUserName(String pName)
{
this.userName=pName;
}
public void setScore(int pScore)
{
this.score=pScore;
}
public String getUserName()
{
return this.userName;
}
public int getScore()
{
return this.score;
}
public Information getNext()
{
return this.next;
}
public void setNext(Information pNext)
{
this.next=pNext;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -