bmpbeanpk.java~1~
来自「100多M的J2EE培训内容」· JAVA~1~ 代码 · 共 32 行
JAVA~1~
32 行
package com.miaoq.userjmssesenbdb;
import java.io.*;
public class BMPBEANPK
implements Serializable {
public String shancbz;
public BMPBEANPK() {
}
public BMPBEANPK(String shancbz) {
this.shancbz = shancbz;
}
public boolean equals(Object obj) {
if (obj != null) {
if (this.getClass().equals(obj.getClass())) {
BMPBEANPK that = (BMPBEANPK) obj;
return ( ( (this.shancbz == null) && (that.shancbz == null)) ||
(this.shancbz != null && this.shancbz.equals(that.shancbz)));
}
}
return false;
}
public int hashCode() {
return shancbz.hashCode();
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?