vtime.java
来自「数据结构与算法」· Java 代码 · 共 21 行
JAVA
21 行
package dsa.adt;
public class Vtime {
private int ve; //最早发生时间
private int vl; //最迟发生时间
//构造方法
public Vtime() {
this(0,Integer.MAX_VALUE);
}
public Vtime(int ve, int vl){
this.ve = ve;
this.vl = vl;
}
//get&set method
public int getVE(){ return ve;}
public int getVL(){ return vl;}
public void setVE(int t){ ve = t;}
public void setVL(int t){ vl = t;}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?