public final class HashCodeUtil
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
HASH_PRIME_NUMBER
Prime number for hash calculation.
|
static int |
HASH_SEED
Initial seed for hash calculation.
|
| Constructor and Description |
|---|
HashCodeUtil() |
| Modifier and Type | Method and Description |
|---|---|
static int |
calcHashCode(int seedValue,
Array value)
Calculates hash code for an Array value.
|
static int |
calcHashCode(int seedValue,
java.math.BigInteger value)
Calculates hash code for a BigInteger value.
|
static int |
calcHashCode(int seedValue,
java.math.BigInteger[] value)
Calculates hash code for a BigInteger raw array value.
|
static int |
calcHashCode(int seedValue,
BitBuffer value)
Calculates hash code for BitBuffer value.
|
static int |
calcHashCode(int seedValue,
BitBuffer[] value)
Calculates hash code for a BitBuffer raw array value.
|
static int |
calcHashCode(int seedValue,
boolean value)
Calculates hash code for a boolean value.
|
static int |
calcHashCode(int seedValue,
java.lang.Boolean value)
Calculates hash code for a Boolean value.
|
static int |
calcHashCode(int seedValue,
boolean[] value)
Calculates hash code for a boolean raw array value.
|
static int |
calcHashCode(int seedValue,
java.lang.Byte value)
Calculates hash code for an Byte value.
|
static int |
calcHashCode(int seedValue,
byte[] value)
Calculates hash code for a byte raw array value.
|
static int |
calcHashCode(int seedValue,
byte[][] value)
Calculates hash code for a bytes raw array value.
|
static int |
calcHashCode(int seedValue,
double value)
Calculates hash code for a double value.
|
static int |
calcHashCode(int seedValue,
java.lang.Double value)
Calculates hash code for a Double value.
|
static int |
calcHashCode(int seedValue,
double[] value)
Calculates hash code for a double raw array value.
|
static int |
calcHashCode(int seedValue,
float value)
Calculates hash code for a float value.
|
static int |
calcHashCode(int seedValue,
java.lang.Float value)
Calculates hash code for a Float value.
|
static int |
calcHashCode(int seedValue,
float[] value)
Calculates hash code for a float raw array value.
|
static int |
calcHashCode(int seedValue,
int value)
Calculates hash code for an int value.
|
static int |
calcHashCode(int seedValue,
int[] value)
Calculates hash code for an int raw array value.
|
static int |
calcHashCode(int seedValue,
java.lang.Integer value)
Calculates hash code for an Integer value.
|
static int |
calcHashCode(int seedValue,
long value)
Calculates hash code for a long value.
|
static int |
calcHashCode(int seedValue,
java.lang.Long value)
Calculates hash code for a Long value.
|
static int |
calcHashCode(int seedValue,
long[] value)
Calculates hash code for a long raw array value.
|
static int |
calcHashCode(int seedValue,
java.lang.Short value)
Calculates hash code for an Short value.
|
static int |
calcHashCode(int seedValue,
short[] value)
Calculates hash code for a short raw array value.
|
static int |
calcHashCode(int seedValue,
java.lang.String value)
Calculates hash code for a String value.
|
static int |
calcHashCode(int seedValue,
java.lang.String[] value)
Calculates hash code for a String raw array value.
|
static <T extends SizeOf> |
calcHashCode(int seedValue,
T value)
Calculates hash code for an SizeOf value.
|
static <T extends ZserioEnum & SizeOf> |
calcHashCode(int seedValue,
T value)
Calculates hash code for a ZserioEnum value.
|
static <T extends SizeOf> |
calcHashCode(int seedValue,
T[] value)
Calculates hash code for a generated object (including ZserioBitmask) raw array value.
|
static <T extends ZserioEnum & SizeOf> |
calcHashCode(int seedValue,
T[] value)
Calculates hash code for a ZserioEnum raw array value.
|
public static final int HASH_SEED
public static final int HASH_PRIME_NUMBER
public static int calcHashCode(int seedValue,
boolean value)
seedValue - Seed value (current hash code).value - Value to use.public static int calcHashCode(int seedValue,
java.lang.Boolean value)
seedValue - Seed value (current hash code).value - Value to use.public static int calcHashCode(int seedValue,
java.lang.Byte value)
seedValue - Seed value (current hash code).value - Value to use.public static int calcHashCode(int seedValue,
java.lang.Short value)
seedValue - Seed value (current hash code).value - Value to use.public static int calcHashCode(int seedValue,
int value)
seedValue - Seed value (current hash code).value - Value to use.public static int calcHashCode(int seedValue,
java.lang.Integer value)
seedValue - Seed value (current hash code).value - Value to use.public static int calcHashCode(int seedValue,
long value)
seedValue - Seed value (current hash code).value - Value to use.public static int calcHashCode(int seedValue,
java.lang.Long value)
seedValue - Seed value (current hash code).value - Value to use.public static int calcHashCode(int seedValue,
float value)
seedValue - Seed value (current hash code).value - Value to use.public static int calcHashCode(int seedValue,
java.lang.Float value)
seedValue - Seed value (current hash code).value - Value to use.public static int calcHashCode(int seedValue,
double value)
seedValue - Seed value (current hash code).value - Value to use.public static int calcHashCode(int seedValue,
java.lang.Double value)
seedValue - Seed value (current hash code).value - Value to use.public static int calcHashCode(int seedValue,
java.math.BigInteger value)
seedValue - Seed value (current hash code).value - Value to use.public static int calcHashCode(int seedValue,
java.lang.String value)
seedValue - Seed value (current hash code).value - Value to use.public static int calcHashCode(int seedValue,
BitBuffer value)
seedValue - Seed value (current hash code).value - Value to use.public static <T extends ZserioEnum & SizeOf> int calcHashCode(int seedValue, T value)
T - Concrete Java type implementing ZserioEnum.seedValue - Seed value (current hash code).value - Value to use.public static <T extends SizeOf> int calcHashCode(int seedValue, T value)
T - Concrete Java type implementing SizeOf.seedValue - Seed value (current hash code).value - Value to use.public static int calcHashCode(int seedValue,
Array value)
seedValue - Seed value (current hash code).value - Value to use.public static int calcHashCode(int seedValue,
boolean[] value)
seedValue - Seed value (current hash code).value - Value to use.public static int calcHashCode(int seedValue,
byte[] value)
seedValue - Seed value (current hash code).value - Value to use.public static int calcHashCode(int seedValue,
short[] value)
seedValue - Seed value (current hash code).value - Value to use.public static int calcHashCode(int seedValue,
int[] value)
seedValue - Seed value (current hash code).value - Value to use.public static int calcHashCode(int seedValue,
long[] value)
seedValue - Seed value (current hash code).value - Value to use.public static int calcHashCode(int seedValue,
float[] value)
seedValue - Seed value (current hash code).value - Value to use.public static int calcHashCode(int seedValue,
double[] value)
seedValue - Seed value (current hash code).value - Value to use.public static int calcHashCode(int seedValue,
java.math.BigInteger[] value)
seedValue - Seed value (current hash code).value - Value to use.public static int calcHashCode(int seedValue,
byte[][] value)
seedValue - Seed value (current hash code).value - Value to use.public static int calcHashCode(int seedValue,
java.lang.String[] value)
seedValue - Seed value (current hash code).value - Value to use.public static int calcHashCode(int seedValue,
BitBuffer[] value)
seedValue - Seed value (current hash code).value - Value to use.public static <T extends ZserioEnum & SizeOf> int calcHashCode(int seedValue, T[] value)
T - Concrete Java type implementing ZserioEnum.seedValue - Seed value (current hash code).value - Value to use.public static <T extends SizeOf> int calcHashCode(int seedValue, T[] value)
T - Concrete Java type implementing SizeOf.seedValue - Seed value (current hash code).value - Value to use.Last updated 2025-10-02 14:26:25