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