com.openharbor.beck
Class ObjectOHXPathMap.ObjectIdentity

java.lang.Object
  extended bycom.openharbor.beck.ObjectOHXPathMap.ObjectIdentity
Enclosing class:
ObjectOHXPathMap

public static class ObjectOHXPathMap.ObjectIdentity
extends java.lang.Object

Defines equals and hashCode in terms of object identity. That is, (new ObjectIdentity(x)).equals(new ObjectIdentity(y)) if and only if x == y; regardless of whether x.equals(y). An ObjectIdentity is used as a key in the HashMap that implements ObjectOHXPathMap.


Constructor Summary
ObjectOHXPathMap.ObjectIdentity(java.lang.Object object)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectOHXPathMap.ObjectIdentity

public ObjectOHXPathMap.ObjectIdentity(java.lang.Object object)
Method Detail

equals

public boolean equals(java.lang.Object obj)

hashCode

public int hashCode()