in partitioned/src/main/java/org/apache/geode_examples/partitioned/EmployeeKey.java [45:61]
public boolean equals(Object obj) {
if (this == obj)
return true;
if (obj == null)
return false;
if (getClass() != obj.getClass())
return false;
EmployeeKey other = (EmployeeKey) obj;
if (emplNumber != other.emplNumber)
return false;
if (name == null) {
if (other.name != null)
return false;
} else if (!name.equals(other.name))
return false;
return true;
}