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 NaturalHasherINSTANCEA singleton instance of the NaturalHasher.
-
Constructor Summary
Constructors Constructor Description NaturalHasher()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(V va, V vb)Compare two objects for equality.inthashCode(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.
-
-