📄 configurationpk.java
字号:
/* * To change this template, choose Tools | Templates * and open the template in the editor. */package org.openacs;/** * * @author Administrator */public class ConfigurationPK { public java.lang.Integer hwid; public java.lang.String name; /** * @see java.lang.Object#equals(java.lang.Object) */ public ConfigurationPK () { } public ConfigurationPK (Integer hwid, String name) { this.hwid = hwid; this.name = name; } @Override public boolean equals(java.lang.Object otherOb) { if (this == otherOb) { return true; } if (!(otherOb instanceof org.openacs.ConfigurationPK)) { return false; } org.openacs.ConfigurationPK other = (org.openacs.ConfigurationPK) otherOb; return ( (hwid==null?other.hwid==null:hwid == other.hwid) && (name==null?other.name==null:name.equals(other.name)) ); } /** * @see java.lang.Object#hashCode() */ @Override public int hashCode() { return ( (hwid==null?0:hwid.hashCode()) ^ (name==null?0:name.hashCode()) ); }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -