📄 node.java
字号:
package myPackage;
public class Node{ //节点类
public Node next;
char X_CHAR;
float X_NUM;
int X_Point;
int Judgment; //判断标记系数正负
public Node(Node nextval){
next=nextval;
}
public Node(float X_NUM,char X_CHAR,int X_Point,int Judgment,Node next){
this.next=next;
this.X_CHAR=X_CHAR;
this.X_NUM=X_NUM;
this.X_Point=X_Point;
this.Judgment=Judgment;
}
public void setX_CHAR(char X_CHAR){
this.X_CHAR=X_CHAR;
}
public char getX_CHAR(){
return X_CHAR;
}
public void setX_NUM(float X_NUM){
this.X_NUM=X_NUM;
}
public float getX_NUM() {
return X_NUM;
}
public void setX_Point(int X_Point){
this.X_Point=X_Point;
}
public int getX_Point(){
return X_Point;
}
public void setNEXT(Node next){
this.next=next;
}
public Node getNEXT(){
return next;
}
public void setJudgment(int Judgment){
this.Judgment=Judgment;
}
public int getJudgment(){
return Judgment;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -