Package com.oracle.coherence.common.base
Class NaturalHasher<V>
- java.lang.Object
-
- com.oracle.coherence.common.base.NaturalHasher<V>
-
-
Field Summary
Fields Modifier and Type Field Description static NaturalHasher
INSTANCE
A singleton instance of the NaturalHasher.
-
Constructor Summary
Constructors Constructor Description NaturalHasher()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(V va, V vb)
Compare two objects for equality.int
hashCode(V o)
Return a hash for the specified object.
-
-
-
Field Detail
-
INSTANCE
public static final NaturalHasher INSTANCE
A singleton instance of the NaturalHasher.
-
-
Method Detail
-
hashCode
public int hashCode(V o)
Return a hash for the specified object.
-
-