Package com.oracle.coherence.common.base
Class IdentityHasher<V>
java.lang.Object
com.oracle.coherence.common.base.IdentityHasher<V>
- Type Parameters:
V
- the value type
- All Implemented Interfaces:
Hasher<V>
IdentityHasher provides a Hasher implementation based upon an object's
identity hashCode
and reference
equality.- Author:
- mf 2011.01.07
-
Field Summary
Modifier and TypeFieldDescriptionstatic final IdentityHasher
A singleton instance of the IdentityHasher. -
Constructor Summary
-
Method Summary
-
Field Details
-
INSTANCE
A singleton instance of the IdentityHasher.
-
-
Constructor Details
-
IdentityHasher
public IdentityHasher()
-
-
Method Details
-
hashCode
Return a hash for the specified object. -
equals
Compare two objects for equality.
-