@Deprecated
public interface HashCodes
Modifier and Type | Method and Description |
---|---|
static int |
hash(boolean value)
Deprecated.
Returns the hashcode of the given value.
|
static int |
hash(boolean v1,
java.lang.Object v2)
Deprecated.
Return the order-dependent hash of the two given values.
|
static int |
hash(byte value)
Deprecated.
Returns the hashcode of the given value.
|
static int |
hash(byte v1,
java.lang.Object v2)
Deprecated.
Return the order-dependent hash of the two given values.
|
static int |
hash(char value)
Deprecated.
Returns the hashcode of the given value.
|
static int |
hash(char v1,
java.lang.Object v2)
Deprecated.
Return the order-dependent hash of the two given values.
|
static int |
hash(double value)
Deprecated.
Returns the hashcode of the given value.
|
static int |
hash(double v1,
java.lang.Object v2)
Deprecated.
Return the order-dependent hash of the two given values.
|
static int |
hash(float value)
Deprecated.
Returns the hashcode of the given value.
|
static int |
hash(float v1,
java.lang.Object v2)
Deprecated.
Return the order-dependent hash of the two given values.
|
static int |
hash(int value)
Deprecated.
Returns the hashcode of the given value.
|
static int |
hash(int v1,
int v2)
Deprecated.
Return the order-dependent hash of the two given integers.
|
static int |
hash(int v1,
java.lang.Object v2)
Deprecated.
Return the order-dependent hash of the two given values.
|
static int |
hash(long value)
Deprecated.
Returns the hashcode of the given value.
|
static int |
hash(long v1,
java.lang.Object v2)
Deprecated.
Return the order-dependent hash of the two given values.
|
static int |
hash(java.lang.Object value)
Deprecated.
Returns the hashcode of the given value.
|
static int |
hash(java.lang.Object v1,
java.lang.Object v2)
Deprecated.
Return the order-dependent hash of the two given values.
|
static int |
hash(java.lang.Object v1,
java.lang.Object v2,
java.lang.Object v3)
Deprecated.
Return the order-dependent hash of the three given values.
|
static int |
hash(java.lang.Object v1,
java.lang.Object v2,
java.lang.Object v3,
java.lang.Object v4)
Deprecated.
Return the order-dependent hash of the two given values.
|
static int |
hash(java.lang.Object v1,
java.lang.Object v2,
java.lang.Object v3,
java.lang.Object v4,
java.lang.Object v5)
Deprecated.
Return the order-dependent hash of the two given values.
|
static int |
hash(java.lang.Object v1,
java.lang.Object v2,
java.lang.Object v3,
java.lang.Object v4,
java.lang.Object v5,
java.lang.Object v6)
Deprecated.
Return the order-dependent hash of the two given values.
|
static int |
hash(java.lang.Object v1,
java.lang.Object v2,
java.lang.Object v3,
java.lang.Object v4,
java.lang.Object v5,
java.lang.Object v6,
java.lang.Object v7)
Deprecated.
Return the order-dependent hash of the two given values.
|
static int |
hash(java.lang.Object v1,
java.lang.Object v2,
java.lang.Object v3,
java.lang.Object v4,
java.lang.Object v5,
java.lang.Object v6,
java.lang.Object v7,
java.lang.Object v8)
Deprecated.
Return the order-dependent hash of the two given values.
|
static int |
hash(short value)
Deprecated.
Returns the hashcode of the given value.
|
static int |
hash(short v1,
java.lang.Object v2)
Deprecated.
Return the order-dependent hash of the two given values.
|
static int hash(int value)
value
- the value to hashInteger.hashCode()
static int hash(int v1, int v2)
The hashcode is equivalent to the hashcode of a List
containing the two given values.
More formally, it returns the value 31 * (31 + hash(v1)) + hash(v2)
.
v1
- the first value to hashv2
- the second value to hashList.hashCode()
,
Arrays.hashCode(Object[])
static int hash(long value)
value
- the value to hashLong.hashCode()
static int hash(byte value)
value
- the value to hashByte.hashCode()
static int hash(short value)
value
- the value to hashShort.hashCode()
static int hash(char value)
value
- the value to hashCharacter.hashCode()
static int hash(boolean value)
value
- the value to hashBoolean.hashCode()
static int hash(float value)
value
- the value to hashFloat.hashCode()
static int hash(double value)
value
- the value to hashDouble.hashCode()
static int hash(java.lang.Object value)
value
- the value to hashObject.hashCode()
static int hash(int v1, java.lang.Object v2)
The hashcode is equivalent to the hashcode of a List
containing the two given values.
More formally, it returns the value 31 * (31 + hash(v1)) + hash(v2)
.
v1
- the first value to hashv2
- the second value to hashList.hashCode()
,
Arrays.hashCode(Object[])
static int hash(long v1, java.lang.Object v2)
The hashcode is equivalent to the hashcode of a List
containing the two given values.
More formally, it returns the value 31 * (31 + hash(v1)) + hash(v2)
.
v1
- the first value to hashv2
- the second value to hashList.hashCode()
,
Arrays.hashCode(Object[])
static int hash(byte v1, java.lang.Object v2)
The hashcode is equivalent to the hashcode of a List
containing the two given values.
More formally, it returns the value 31 * (31 + hash(v1)) + hash(v2)
.
v1
- the first value to hashv2
- the second value to hashList.hashCode()
,
Arrays.hashCode(Object[])
static int hash(short v1, java.lang.Object v2)
The hashcode is equivalent to the hashcode of a List
containing the two given values.
More formally, it returns the value 31 * (31 + hash(v1)) + hash(v2)
.
v1
- the first value to hashv2
- the second value to hashList.hashCode()
,
Arrays.hashCode(Object[])
static int hash(char v1, java.lang.Object v2)
The hashcode is equivalent to the hashcode of a List
containing the two given values.
More formally, it returns the value 31 * (31 + hash(v1)) + hash(v2)
.
v1
- the first value to hashv2
- the second value to hashList.hashCode()
,
Arrays.hashCode(Object[])
static int hash(boolean v1, java.lang.Object v2)
The hashcode is equivalent to the hashcode of a List
containing the two given values.
More formally, it returns the value 31 * (31 + hash(v1)) + hash(v2)
.
v1
- the first value to hashv2
- the second value to hashList.hashCode()
,
Arrays.hashCode(Object[])
static int hash(float v1, java.lang.Object v2)
The hashcode is equivalent to the hashcode of a List
containing the two given values.
More formally, it returns the value 31 * (31 + hash(v1)) + hash(v2)
.
v1
- the first value to hashv2
- the second value to hashList.hashCode()
,
Arrays.hashCode(Object[])
static int hash(double v1, java.lang.Object v2)
The hashcode is equivalent to the hashcode of a List
containing the two given values.
More formally, it returns the value 31 * (31 + hash(v1)) + hash(v2)
.
v1
- the first value to hashv2
- the second value to hashList.hashCode()
,
Arrays.hashCode(Object[])
static int hash(java.lang.Object v1, java.lang.Object v2)
The hashcode is equivalent to the hashcode of a List
containing the two given values.
More formally, it returns the value 31 * (31 + hash(v1)) + hash(v2)
.
v1
- the first value to hashv2
- the second value to hashList.hashCode()
,
Arrays.hashCode(Object[])
static int hash(java.lang.Object v1, java.lang.Object v2, java.lang.Object v3)
The hashcode is equivalent to the hashcode of a List
containing the given values.
v1
- the first value to hashv2
- the second value to hashv3
- the third value to hashList.hashCode()
,
Arrays.hashCode(Object[])
static int hash(java.lang.Object v1, java.lang.Object v2, java.lang.Object v3, java.lang.Object v4)
The hashcode is equivalent to the hashcode of a List
containing the given values.
v1
- the first value to hashv2
- the second value to hashv3
- the third value to hashv4
- the fourth value to hashList.hashCode()
,
Arrays.hashCode(Object[])
static int hash(java.lang.Object v1, java.lang.Object v2, java.lang.Object v3, java.lang.Object v4, java.lang.Object v5)
The hashcode is equivalent to the hashcode of a List
containing the given values.
v1
- the first value to hashv2
- the second value to hashv3
- the third value to hashv4
- the fourth value to hashv5
- the fifth value to hashList.hashCode()
,
Arrays.hashCode(Object[])
static int hash(java.lang.Object v1, java.lang.Object v2, java.lang.Object v3, java.lang.Object v4, java.lang.Object v5, java.lang.Object v6)
The hashcode is equivalent to the hashcode of a List
containing the given values.
v1
- the first value to hashv2
- the second value to hashv3
- the third value to hashv4
- the fourth value to hashv5
- the fifth value to hashv6
- the sixth value to hashList.hashCode()
,
Arrays.hashCode(Object[])
static int hash(java.lang.Object v1, java.lang.Object v2, java.lang.Object v3, java.lang.Object v4, java.lang.Object v5, java.lang.Object v6, java.lang.Object v7)
The hashcode is equivalent to the hashcode of a List
containing the given values.
v1
- the first value to hashv2
- the second value to hashv3
- the third value to hashv4
- the fourth value to hashv5
- the fifth value to hashv6
- the sixth value to hashv7
- the seventh value to hashList.hashCode()
,
Arrays.hashCode(Object[])
static int hash(java.lang.Object v1, java.lang.Object v2, java.lang.Object v3, java.lang.Object v4, java.lang.Object v5, java.lang.Object v6, java.lang.Object v7, java.lang.Object v8)
The hashcode is equivalent to the hashcode of a List
containing the given values.
v1
- the first value to hashv2
- the second value to hashv3
- the third value to hashv4
- the fourth value to hashv5
- the fifth value to hashv6
- the sixth value to hashv7
- the seventh value to hashv8
- the eighth value to hashList.hashCode()
,
Arrays.hashCode(Object[])