Interface HashCodes
-
Method Summary
Modifier and TypeMethodDescriptionstatic int
hash
(boolean value) Deprecated.Returns the hashcode of the given value.static int
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
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
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
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
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
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
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
Deprecated.Return the order-dependent hash of the two given values.static int
Deprecated.Returns the hashcode of the given value.static int
Deprecated.Return the order-dependent hash of the two given values.static int
Deprecated.Return the order-dependent hash of the three given values.static int
Deprecated.Return the order-dependent hash of the two given values.static int
Deprecated.Return the order-dependent hash of the two given values.static int
Deprecated.Return the order-dependent hash of the two given values.static int
Deprecated.Return the order-dependent hash of the two given values.static int
Deprecated.Return the order-dependent hash of the two given values.
-
Method Details
-
hash
static int hash(int value) Deprecated.Returns the hashcode of the given value.- Parameters:
value
- the value to hash- Returns:
- the hashcode
- See Also:
-
hash
static int hash(int v1, int v2) Deprecated.Return the order-dependent hash of the two given integers.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)
.- Parameters:
v1
- the first value to hashv2
- the second value to hash- Returns:
- the hashcode
- See Also:
-
hash
static int hash(long value) Deprecated.Returns the hashcode of the given value.- Parameters:
value
- the value to hash- Returns:
- the hashcode
- See Also:
-
hash
static int hash(byte value) Deprecated.Returns the hashcode of the given value.- Parameters:
value
- the value to hash- Returns:
- the hashcode
- See Also:
-
hash
static int hash(short value) Deprecated.Returns the hashcode of the given value.- Parameters:
value
- the value to hash- Returns:
- the hashcode
- See Also:
-
hash
static int hash(char value) Deprecated.Returns the hashcode of the given value.- Parameters:
value
- the value to hash- Returns:
- the hashcode
- See Also:
-
hash
static int hash(boolean value) Deprecated.Returns the hashcode of the given value.- Parameters:
value
- the value to hash- Returns:
- the hashcode
- See Also:
-
hash
static int hash(float value) Deprecated.Returns the hashcode of the given value.- Parameters:
value
- the value to hash- Returns:
- the hashcode
- See Also:
-
hash
static int hash(double value) Deprecated.Returns the hashcode of the given value.- Parameters:
value
- the value to hash- Returns:
- the hashcode
- See Also:
-
hash
Deprecated.Returns the hashcode of the given value.- Parameters:
value
- the value to hash- Returns:
- the hashcode
- See Also:
-
hash
Deprecated.Return the order-dependent hash of the two given values.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)
.- Parameters:
v1
- the first value to hashv2
- the second value to hash- Returns:
- the hashcode
- See Also:
-
hash
Deprecated.Return the order-dependent hash of the two given values.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)
.- Parameters:
v1
- the first value to hashv2
- the second value to hash- Returns:
- the hashcode
- See Also:
-
hash
Deprecated.Return the order-dependent hash of the two given values.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)
.- Parameters:
v1
- the first value to hashv2
- the second value to hash- Returns:
- the hashcode
- See Also:
-
hash
Deprecated.Return the order-dependent hash of the two given values.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)
.- Parameters:
v1
- the first value to hashv2
- the second value to hash- Returns:
- the hashcode
- See Also:
-
hash
Deprecated.Return the order-dependent hash of the two given values.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)
.- Parameters:
v1
- the first value to hashv2
- the second value to hash- Returns:
- the hashcode
- See Also:
-
hash
Deprecated.Return the order-dependent hash of the two given values.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)
.- Parameters:
v1
- the first value to hashv2
- the second value to hash- Returns:
- the hashcode
- See Also:
-
hash
Deprecated.Return the order-dependent hash of the two given values.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)
.- Parameters:
v1
- the first value to hashv2
- the second value to hash- Returns:
- the hashcode
- See Also:
-
hash
Deprecated.Return the order-dependent hash of the two given values.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)
.- Parameters:
v1
- the first value to hashv2
- the second value to hash- Returns:
- the hashcode
- See Also:
-
hash
Deprecated.Return the order-dependent hash of the two given values.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)
.- Parameters:
v1
- the first value to hashv2
- the second value to hash- Returns:
- the hashcode
- See Also:
-
hash
Deprecated.Return the order-dependent hash of the three given values.The hashcode is equivalent to the hashcode of a
List
containing the given values.- Parameters:
v1
- the first value to hashv2
- the second value to hashv3
- the third value to hash- Returns:
- the hashcode
- See Also:
-
hash
Deprecated.Return the order-dependent hash of the two given values.The hashcode is equivalent to the hashcode of a
List
containing the given values.- Parameters:
v1
- the first value to hashv2
- the second value to hashv3
- the third value to hashv4
- the fourth value to hash- Returns:
- the hashcode
- See Also:
-
hash
Deprecated.Return the order-dependent hash of the two given values.The hashcode is equivalent to the hashcode of a
List
containing the given values.- Parameters:
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 hash- Returns:
- the hashcode
- See Also:
-
hash
Deprecated.Return the order-dependent hash of the two given values.The hashcode is equivalent to the hashcode of a
List
containing the given values.- Parameters:
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 hash- Returns:
- the hashcode
- See Also:
-
hash
Deprecated.Return the order-dependent hash of the two given values.The hashcode is equivalent to the hashcode of a
List
containing the given values.- Parameters:
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 hash- Returns:
- the hashcode
- See Also:
-
hash
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.The hashcode is equivalent to the hashcode of a
List
containing the given values.- Parameters:
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 hash- Returns:
- the hashcode
- See Also:
-