xscjManage/src/org/model/CjbId.java

(完整代码) 1KB

package org.model;
public class CjbId implements java.io.Serializable {
	private String xh;
	private String kch;
	public CjbId() {
	}
	public CjbId(String xh, String kch) {
		this.xh = xh;
		this.kch = kch;
	}
	public String getXh() {
		return this.xh;
	}

	public void setXh(String xh) {
		this.xh = xh;
	}

	public String getKch() {
		return this.kch;
	}

	public void setKch(String kch) {
		this.kch = kch;
	}

	public boolean equals(Object other) {
		if ((this == other))
			return true;
		if ((other == null))
			return false;
		if (!(other instanceof CjbId))
			return false;
		CjbId castOther = (CjbId) other;

		return ((this.getXh() == castOther.getXh()) || (this.getXh() != null
				&& castOther.getXh() != null && this.getXh().equals(
				castOther.getXh())))
				&& ((this.getKch() == castOther.getKch()) || (this.getKch() != null
						&& castOther.getKch() != null && this.getKch().equals(
						castOther.getKch())));
	}

	public int hashCode() {
		int result = 17;

		result = 37 * result + (getXh() == null ? 0 : this.getXh().hashCode());
		result = 37 * result
				+ (getKch() == null ? 0 : this.getKch().hashCode());
		return result;
	}

}

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。