public int hashCode(){
  return name.hashCode() ^ (value == null ? 0 : value.hashCode());
}

public int hashCode ( ) { return name . hashCode ( ) ^ ( value == null ? 0 : value . hashCode ( ) ) ; }
returns a hash code value for this attribute .
