polyglot.util
Class IdentityKey
java.lang.Object
polyglot.util.IdentityKey
public class IdentityKey
- extends java.lang.Object
Class to be used for inserting objects in hashtables using pointer equality.
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
IdentityKey
public IdentityKey(java.lang.Object obj)
object
public java.lang.Object object()
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object