📄 idnametype.java
字号:
package com.jestdoc.flowtools;
/**
* <p>Title: </p>
* <p>Description: </p>
* <p>Copyright: Copyright (c) 2002</p>
* <p>Company: wingroup</p>
* @author huangtao
* @version 1.0
*/
public class IDNameType extends IDNameClass implements Cloneable{
int type;
public IDNameType(int id, String name, int type){
this.id = id;
this.name = name;
this.type = type;
if(name == null)
this.name = "";
}
public IDNameType(){
this(-1, "", -1);
}
public boolean equals(Object obj){
if(obj != null && obj instanceof IDNameType){
IDNameType idNameType = (IDNameType)obj;
if(this.id == idNameType.id && this.name.equals(idNameType.name)
&& this.type == idNameType.type)
return true;
}
return false;
}
public Object clone(){
IDNameType idNameType = (IDNameType)super.clone();
idNameType.type = this.type;
return idNameType;
}
public int getType(){
return this.type;
}
public void setType(int type){
this.type = type;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -