Package com.zeroc.Ice
Class ProxyIdentityFacetKey
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
the facet of the proxy.-
Constructor Summary
ConstructorsConstructorDescriptionProxyIdentityFacetKey
(ObjectPrx proxy) Initializes this class with the passed proxy. -
Method Summary
-
Constructor Details
-
ProxyIdentityFacetKey
Initializes this class with the passed proxy.- Parameters:
proxy
- The proxy for this instance.
-
-
Method Details
-
hashCode
public int hashCode()Computes a hash value based on the object identity and the facet of the proxy. -
equals
Compares this proxy with the passed object for equality. -
getProxy
Returns the proxy stored by this class.- Returns:
- The proxy stored by this class.
-