Package com.zeroc.Ice
Class ProxyIdentityKey
java.lang.Object
com.zeroc.Ice.ProxyIdentityKey
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
of the proxy.-
Constructor Summary
ConstructorsConstructorDescriptionProxyIdentityKey
(ObjectPrx proxy) Initializes this class with the passed proxy. -
Method Summary
-
Constructor Details
-
ProxyIdentityKey
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 of the proxy. -
equals
Compares this proxy with the passed object for equality. -
getProxy
-