⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 customerlocation.java

📁 webwork in action 源码
💻 JAVA
字号:
package org.hibernate.auction.model;import java.io.Serializable;public class CustomerLocation implements Serializable {	private String one;	private String two;	public CustomerLocation() {}	public String getOne() {		return one;	}	public void setOne(String one) {		this.one = one;	}	public String getTwo() {		return two;	}	public void setTwo(String two) {		this.two = two;	}	public boolean equals(Object o) {		if (this == o) return true;		if (!(o instanceof CustomerLocation)) return false;		final CustomerLocation customerLocation = (CustomerLocation) o;		if (one != null ? !one.equals(customerLocation.one) : customerLocation.one != null) return false;		if (two != null ? !two.equals(customerLocation.two) : customerLocation.two != null) return false;		return true;	}	public int hashCode() {		int result;		result = (one != null ? one.hashCode() : 0);		result = 29 * result + (two != null ? two.hashCode() : 0);		return result;	}}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -