org.openorb.util
Class IdentityKey

java.lang.Object
  |
  +--org.openorb.util.IdentityKey

public class IdentityKey
extends java.lang.Object

Identity hash table key. Use to wrap objects to insert into hash maps where the entry should be hashed/looked up on the actual object, rather than any equals / hashCode operations it defines.

Version:
$Revision: 1.1 $ $Date: 2001/04/12 16:50:46 $
Author:
Chris Wood <daniel@intalio.com>

Constructor Summary
IdentityKey(java.lang.Object target)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IdentityKey

public IdentityKey(java.lang.Object target)
Method Detail

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object