public class ProxyIdentityKey
extends java.lang.Object
hashCode and equals methods are based on the object identity
of the proxy.| Constructor and Description |
|---|
ProxyIdentityKey(ObjectPrx proxy)
Initializes this class with the passed proxy.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj)
Compares this proxy with the passed object for equality.
|
ObjectPrx |
getProxy() |
int |
hashCode()
Computes a hash value based on the object identity of the proxy.
|
public ProxyIdentityKey(ObjectPrx proxy)
proxy - The proxy for this instance.public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - The object to compare this proxy with.true if the passed object is a proxy with the same object
identity; false, otherwise.public ObjectPrx getProxy()