public boolean equals(Object object) { if (!(object instanceof Person)) { return false; } Person rhs = (Person) object; return new EqualsBuilder().append(this.firstName, rhs.firstName) .append(this.id, rhs.id).append(this.lastName, rhs.lastName) .isEquals();
public boolean equals(Object o) { if (this == o) return true; if (!(o instanceof Person)) return false;  final Person person = (Person) o;  if (firstName != null ? !firstName.equals(person.firstName) : person.firstName != null) return false; if (lastName != null ? !lastName.equals(person.lastName) : person.lastName != null) return false;  return true;
    public boolean equals(Object object) {        if (!(object instanceof Person)) {            return false;        }        Person rhs = (Person) object;        return new EqualsBuilder().append(this.firstName, rhs.firstName)                .append(this.id, rhs.id).append(this.lastName, rhs.lastName)                .isEquals();    }