java.lang.Object
com.zeroc.Ice.ProxyIdentityFacetKey
This class wraps a proxy to allow it to be used the key for a hashed collection.
The
hashCode and equals methods are based on the object identity and facet of the proxy.-
Constructor Summary
ConstructorsConstructorDescriptionProxyIdentityFacetKey(ObjectPrx proxy) Creates a ProxyIdentityFacetKey from the provided proxy. -
Method Summary
-
Constructor Details
-
ProxyIdentityFacetKey
Creates a ProxyIdentityFacetKey from the provided proxy.- Parameters:
proxy- the proxy to use
-
-
Method Details
-
hashCode
public int hashCode()Returns a hash value based on the object identity and facet of the wrapped proxy. -
equals
Compares the wrapped proxy with the provided object for equality. -
getProxy
Returns the proxy wrapped by this class.- Returns:
- the wrapped proxy
-