@Override public int hashCode(){
  int result;
  result=(address != null ? address.hashCode() : 0);
  result=29 * result + (city != null ? city.hashCode() : 0);
  result=29 * result + (province != null ? province.hashCode() : 0);
  result=29 * result + (country != null ? country.hashCode() : 0);
  result=29 * result + (postalCode != null ? postalCode.hashCode() : 0);
  return result;
}

@ Override public int hashCode ( ) { int result ; result = ( address != null ? address . hashCode ( ) : 0 ) ; result = 29 * result + ( city != null ? city . hashCode ( ) : 0 ) ; result = 29 * result + ( province != null ? province . hashCode ( ) : 0 ) ; result = 29 * result + ( country != null ? country . hashCode ( ) : 0 ) ; result = 29 * result + ( postalCode != null ? postalCode . hashCode ( ) : 0 ) ; return result ; }
overridden hashcode method - compares on address , city , province , country and postal code .
