public int hashCode(){
  return name.hashCode() ^ owner.hashCode();
}

public int hashCode ( ) { return name . hashCode ( ) ^ owner . hashCode ( ) ; }
this returns the unique has code used for this key . the hash code is created by combining the hash code of the method or field name with the hash code of the declaring class .
