Package zombie.util.hash
Class DefaultIntHashFunction
java.lang.Object
zombie.util.hash.DefaultIntHashFunction
- All Implemented Interfaces:
java.io.Serializable,IntHashFunction
public class DefaultIntHashFunction extends java.lang.Object implements IntHashFunction, java.io.Serializable
- See Also:
- Serialized Form
-
Field Summary
Fields Modifier and Type Field Description static IntHashFunctionINSTANCE -
Constructor Summary
Constructors Modifier Constructor Description protectedDefaultIntHashFunction() -
Method Summary
Modifier and Type Method Description inthash(int v)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
DefaultIntHashFunction
protected DefaultIntHashFunction()
-
-
Method Details
-
hash
public int hash(int v)- Specified by:
hashin interfaceIntHashFunction
-