Class IdentityKey<T>


  • public class IdentityKey<T>
    extends Object
    Allows any object to be used as a hash key, with identity used for hashCode() and equals(java.lang.Object). They may be used, for example, to have IdentityHashMap semantics with WeakHashMap references.

    Supports null value, which may allow null keys in maps that otherwise do not support null keys.

    Author:
    AO Industries, Inc.