public int hashCode(){
  return id.hashCode() ^ (transport != null ? transport.hashCode() : 0);
}

public int hashCode ( ) { return id . hashCode ( ) ^ ( transport != null ? transport . hashCode ( ) : 0 ) ; }
returns the hash code value for this object endpoint .
