public int hashCode(){
  return (ref == null) ? super.hashCode() : ref.remoteHashCode();
}

public int hashCode ( ) { return ( ref == null ) ? super . hashCode ( ) : ref . remoteHashCode ( ) ; }
returns a hashcode for a remote object . two remote object stubs that refer to the same remote object will have the same hash code ( in order to support remote objects as keys in hash tables ) .
