gnu.trove
Class HashFunctions
public final class HashFunctions
extends java.lang.Object
Provides various hash functions.
static int | hash(Object object) - Returns a hashcode for the specified object.
|
static int | hash(double value) - Returns a hashcode for the specified value.
|
static int | hash(float value) - Returns a hashcode for the specified value.
|
static int | hash(int value) - Returns a hashcode for the specified value.
|
static int | hash(long value) - Returns a hashcode for the specified value.
|
hash
public static int hash(Object object)
Returns a hashcode for the specified object.
- a hash code value for the specified object.
hash
public static int hash(double value)
Returns a hashcode for the specified value.
- a hash code value for the specified value.
hash
public static int hash(float value)
Returns a hashcode for the specified value.
- a hash code value for the specified value.
hash
public static int hash(int value)
Returns a hashcode for the specified value.
- a hash code value for the specified value.
hash
public static int hash(long value)
Returns a hashcode for the specified value.
- a hash code value for the specified value.
GNU Trove is copyright B) 2001-2007 Eric D. Friedman. All Rights Reserved.