Package org.apache.jorphan.collections
Class IdentityKey
-
- All Implemented Interfaces:
public final class IdentityKey<T extends Object>Wraps an object so equals and hashCode compare object identities. One of the common usages is to create ConcurrentHashMap where keys are distinguished by their identities instead of Object.equals.
-
-
Constructor Summary
Constructors Constructor Description IdentityKey(T value)
-