public class ProxyIdentityFacetKey
extends java.lang.Object
hashCode and equals methods are based on the object identity and
the facet of the proxy.| Constructor and Description |
|---|
ProxyIdentityFacetKey(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()
Returns the proxy stored by this class.
|
int |
hashCode()
Computes a hash value based on the object identity and the facet of the proxy.
|
public ProxyIdentityFacetKey(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 and facet as this proxy; false, otherwise.public ObjectPrx getProxy()