?? type.java
字號:
package zhaobiao.data;/** * <p>Title: </p> * <p>Description: </p> * <p>Copyright: Copyright (c) 2003</p> * <p>Company: </p> * @author unascribed * @version 1.0 */public class Type implements Comparable{ private long type_id; private String type_name; private String type_content; public Type() { } public long getType_id() { return type_id; } public void setType_id(long type_id) { this.type_id = type_id; } public void setType_name(String type_name) { this.type_name = type_name; } public String getType_name() { return type_name; } public void setType_content(String type_content) { this.type_content = type_content; } public String getType_content() { return type_content; } public boolean equals(Object o) { if(type_id==((Type)o).getType_id()) return true; else return false; } public int compareTo(Object o) { long i2=((Type)o).getType_id(); return(i2<type_id?-1:(i2==type_id?0:1)); }}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -