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) Creates a ProxyIdentityKey from the provided proxy. -
Method Summary
-
Constructor Details
-
ProxyIdentityKey
Creates a ProxyIdentityKey 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 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
-