@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,
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,
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,
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,
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,
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,
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,
Object v2)
Deprecated.
Return the order-dependent hash of the two given values.
|
static int |
hash(Object value)
Deprecated.
Returns the hashcode of the given value.
|
static int |
hash(Object v1,
Object v2)
Deprecated.
Return the order-dependent hash of the two given values.
|
static int |
hash(Object v1,
Object v2,
Object v3)
Deprecated.
Return the order-dependent hash of the three given values.
|
static int |
hash(Object v1,
Object v2,
Object v3,
Object v4)
Deprecated.
Return the order-dependent hash of the two given values.
|
static int |
hash(Object v1,
Object v2,
Object v3,
Object v4,
Object v5)
Deprecated.
Return the order-dependent hash of the two given values.
|
static int |
hash(Object v1,
Object v2,
Object v3,
Object v4,
Object v5,
Object v6)
Deprecated.
Return the order-dependent hash of the two given values.
|
static int |
hash(Object v1,
Object v2,
Object v3,
Object v4,
Object v5,
Object v6,
Object v7)
Deprecated.
Return the order-dependent hash of the two given values.
|
static int |
hash(Object v1,
Object v2,
Object v3,
Object v4,
Object v5,
Object v6,
Object v7,
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,
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(Object value)
value
- the value to hashObject.hashCode()
static int hash(int v1, 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, 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, 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, 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, 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, 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, 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, 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(Object v1, 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(Object v1, Object v2, 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(Object v1, Object v2, Object v3, 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(Object v1, Object v2, Object v3, Object v4, 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(Object v1, Object v2, Object v3, Object v4, Object v5, 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(Object v1, Object v2, Object v3, Object v4, Object v5, Object v6, 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(Object v1, Object v2, Object v3, Object v4, Object v5, Object v6, Object v7, 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[])
Copyright © 2019. All Rights Reserved.