|
Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
com.tangosol.util.HashHelper
public abstract class HashHelper
This abstract class contains helper functions for calculating hash code values for any group of java intrinsics.
| Constructor Summary | |
|---|---|
HashHelper() |
|
| Method Summary | |
|---|---|
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(java.util.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(java.lang.Object[] value, int hash)Calculate a running hash using the Object array value. |
static int |
hash(java.lang.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 java.lang.String |
hash(java.lang.String s)Shift the value into a different charset order. |
| Constructor Detail |
|---|
public HashHelper()
| Method Detail |
|---|
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 value
public static int hash(java.lang.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 value
public static int hash(java.lang.Object[] value,
int hash)
value - the Object array value for use in the hashhash - the running hash value
public static int hash(java.util.Collection col,
int hash)
col - the Collection value for use in the hashhash - the running hash valuepublic static java.lang.String hash(java.lang.String s)
s - a String
|
Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||