(this.getContactFamilyName().toLowerCase().equals(contact.getContactFamilyName().toLowerCase())));
}
+ @Override
+ public int hashCode () {
+ // Validate contactGender instance
+ assert (this.getContactGender() instanceof Gender) : "gender is not set."; //NOI18N
+
+ int hash = 7;
+ hash = 79 * hash + Objects.hashCode(this.getContactFamilyName());
+ hash = 79 * hash + this.getContactGender().hashCode();
+ hash = 79 * hash + Objects.hashCode(this.getContactFirstName());
+ return hash;
+ }
+
@Override
public Date getContactBirthday () {
return this.contactBirthday;
this.contactZipCode = contactZipCode;
}
- @Override
- public int hashCode () {
- // Validate contactGender instance
- assert (this.getContactGender() instanceof Gender) : "gender is not set."; //NOI18N
-
- int hash = 7;
- hash = 79 * hash + Objects.hashCode(this.getContactFamilyName());
- hash = 79 * hash + this.getContactGender().hashCode();
- hash = 79 * hash + Objects.hashCode(this.getContactFirstName());
- return hash;
- }
-
/**
* Initialization with fake contactGender UNKNOWN
*/