|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectzombie.util.hash.DefaultIntHashFunction
public class DefaultIntHashFunction
This class provides a default hash function for int values. It has been derived from the Java library and is known to work well in the general case.
| Field Summary | |
|---|---|
static IntHashFunction |
INSTANCE
Default instance of this hash function. |
| Method Summary | |
|---|---|
int |
hash(int v)
Returns a hash code for a specified int value. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final IntHashFunction INSTANCE
| Method Detail |
|---|
public int hash(int v)
IntHashFunction
hash in interface IntHashFunctionv - the value for which to return a hash code.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||