in curator-examples/src/main/java/modeled/PersonModel.java [64:88]
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
PersonModel that = (PersonModel) o;
if (age != that.age) {
return false;
}
if (!id.equals(that.id)) {
return false;
}
if (!containerType.equals(that.containerType)) {
return false;
}
//noinspection SimplifiableIfStatement
if (!firstName.equals(that.firstName)) {
return false;
}
return lastName.equals(that.lastName);
}