public abstract class HashHelper extends Object
| Constructor and Description |
|---|
HashHelper() |
| Modifier and Type | Method and Description |
|---|---|
static int |
hash(boolean[] value, int hash)
Calculate a running hash using the boolean array value.
|
static int |
hash(boolean value, int hash)
Calculate a running hash using the boolean value.
|
static int |
hash(byte[] value, int hash)
Calculate a running hash using the byte array value.
|
static int |
hash(byte value, int hash)
Calculate a running hash using the byte value.
|
static int |
hash(char[] value, int hash)
Calculate a running hash using the char array value.
|
static int |
hash(char value, int hash)
Calculate a running hash using the char value.
|
static int |
hash(Collection col, int hash)
Calculate a running hash using the Collection value.
|
static int |
hash(double[] value, int hash)
Calculate a running hash using the double array value.
|
static int |
hash(double value, int hash)
Calculate a running hash using the double value.
|
static int |
hash(float[] value, int hash)
Calculate a running hash using the float array value.
|
static int |
hash(float value, int hash)
Calculate a running hash using the float value.
|
static int |
hash(int[] value, int hash)
Calculate a running hash using the int array value.
|
static int |
hash(int value, int hash)
Calculate a running hash using the int value.
|
static int |
hash(long[] value, int hash)
Calculate a running hash using the long array value.
|
static int |
hash(long value, int hash)
Calculate a running hash using the long value.
|
static int |
hash(Object[] value, int hash)
Calculate a running hash using the Object array value.
|
static int |
hash(Object value, int hash)
Calculate a running hash using the Object value.
|
static int |
hash(short[] value, int hash)
Calculate a running hash using the short array value.
|
static int |
hash(short value, int hash)
Calculate a running hash using the short value.
|
static String |
hash(String s)
Shift the value into a different charset order.
|
public static int hash(boolean value,
int hash)
value - the boolean value for use in the hashhash - the running hash value
public static int hash(byte value,
int hash)
value - the byte value for use in the hashhash - the running hash value
public static int hash(char value,
int hash)
value - the char value for use in the hashhash - the running hash value
public static int hash(double value,
int hash)
value - the double value for use in the hashhash - the running hash value
public static int hash(float value,
int hash)
value - the float value for use in the hashhash - the running hash value
public static int hash(int value,
int hash)
value - the int value for use in the hashhash - the running hash value
public static int hash(long value,
int hash)
value - the long value for use in the hashhash - the running hash value
public static int hash(short value,
int hash)
value - the short value for use in the hashhash - the running hash valuepublic static int hash(Object value, int hash)
value - the Object value for use in the hashhash - the running hash value
public static int hash(boolean[] value,
int hash)
value - the boolean array value for use in the hashhash - the running hash value
public static int hash(byte[] value,
int hash)
value - the byte array value for use in the hashhash - the running hash value
public static int hash(char[] value,
int hash)
value - the char array value for use in the hashhash - the running hash value
public static int hash(double[] value,
int hash)
value - the double array value for use in the hashhash - the running hash value
public static int hash(float[] value,
int hash)
value - the float array value for use in the hashhash - the running hash value
public static int hash(int[] value,
int hash)
value - the int array value for use in the hashhash - the running hash value
public static int hash(long[] value,
int hash)
value - the long array value for use in the hashhash - the running hash value
public static int hash(short[] value,
int hash)
value - the short array value for use in the hashhash - the running hash valuepublic static int hash(Object[] value, int hash)
value - the Object array value for use in the hashhash - the running hash valuepublic static int hash(Collection col, int hash)
col - the Collection value for use in the hashhash - the running hash value