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 IntHashFunction
INSTANCE
-
Constructor Summary
Constructors Modifier Constructor Description protected
DefaultIntHashFunction()
-
Method Summary
Modifier and Type Method Description int
hash(int int1)
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 int1)- Specified by:
hash
in interfaceIntHashFunction
-