📄 boardkey.java
字号:
package com.bitterjava.bbs.ejb;
public class BoardKey implements java.io.Serializable {
public java.lang.String name;
final static long serialVersionUID = 3206093459760846163L;
/**
* Default constructor
*/
/* WARNING: THIS METHOD WILL BE REGENERATED. */
public BoardKey() {
super();
}
/**
* Initialize a key from the passed values
* @param argName java.lang.String
*/
/* WARNING: THIS METHOD WILL BE REGENERATED. */
public BoardKey(java.lang.String argName) {
name = argName;
}
/**
* equals method
* @return boolean
* @param o java.lang.Object
*/
/* WARNING: THIS METHOD WILL BE REGENERATED. */
public boolean equals(Object o) {
if (o instanceof BoardKey) {
BoardKey otherKey = (BoardKey) o;
return ((this.name.equals(otherKey.name)));
}
else
return false;
}
/**
* hashCode method
* @return int
*/
/* WARNING: THIS METHOD WILL BE REGENERATED. */
public int hashCode() {
return (name.hashCode());
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -