public class DefaultHashCodeStrategy extends Object implements HashCodeStrategy
Modifier and Type | Field and Description |
---|---|
static HashCodeStrategy |
INSTANCE |
Constructor and Description |
---|
DefaultHashCodeStrategy() |
DefaultHashCodeStrategy(int multiplierNonZeroOddNumber) |
Modifier and Type | Method and Description |
---|---|
int |
hashCode(ObjectLocator locator,
int hashCode,
boolean value) |
int |
hashCode(ObjectLocator locator,
int hashCode,
boolean[] value) |
int |
hashCode(ObjectLocator locator,
int hashCode,
byte value) |
int |
hashCode(ObjectLocator locator,
int hashCode,
byte[] value) |
int |
hashCode(ObjectLocator locator,
int hashCode,
char value) |
int |
hashCode(ObjectLocator locator,
int hashCode,
char[] value) |
int |
hashCode(ObjectLocator locator,
int hashCode,
double value) |
int |
hashCode(ObjectLocator locator,
int hashCode,
double[] value) |
int |
hashCode(ObjectLocator locator,
int hashCode,
float value) |
int |
hashCode(ObjectLocator locator,
int hashCode,
float[] value) |
int |
hashCode(ObjectLocator locator,
int hashCode,
int value) |
int |
hashCode(ObjectLocator locator,
int hashCode,
int[] value) |
int |
hashCode(ObjectLocator locator,
int hashCode,
long value) |
int |
hashCode(ObjectLocator locator,
int hashCode,
long[] value) |
int |
hashCode(ObjectLocator locator,
int hashCode,
Object object) |
int |
hashCode(ObjectLocator locator,
int hashCode,
Object[] value) |
int |
hashCode(ObjectLocator locator,
int hashCode,
short value) |
int |
hashCode(ObjectLocator locator,
int hashCode,
short[] value) |
protected int |
hashCodeInternal(ObjectLocator locator,
int hashCode,
Enum<?> value) |
protected int |
hashCodeInternal(ObjectLocator locator,
int hashCode,
Enum<?>[] value) |
protected int |
hashCodeInternal(ObjectLocator locator,
int hashCode,
HashCode object) |
protected int |
hashCodeInternal(ObjectLocator locator,
int hashCode,
HashCode[] value) |
protected int |
hashCodeInternal(ObjectLocator locator,
int hashCode,
Object value) |
public static final HashCodeStrategy INSTANCE
public DefaultHashCodeStrategy()
public DefaultHashCodeStrategy(int multiplierNonZeroOddNumber)
public int hashCode(ObjectLocator locator, int hashCode, Object object)
hashCode
in interface HashCodeStrategy
protected int hashCodeInternal(ObjectLocator locator, int hashCode, Object value)
protected int hashCodeInternal(ObjectLocator locator, int hashCode, Enum<?> value)
protected int hashCodeInternal(ObjectLocator locator, int hashCode, HashCode object)
public int hashCode(ObjectLocator locator, int hashCode, Object[] value)
hashCode
in interface HashCodeStrategy
protected int hashCodeInternal(ObjectLocator locator, int hashCode, Enum<?>[] value)
protected int hashCodeInternal(ObjectLocator locator, int hashCode, HashCode[] value)
public int hashCode(ObjectLocator locator, int hashCode, boolean value)
hashCode
in interface HashCodeStrategy
public int hashCode(ObjectLocator locator, int hashCode, byte value)
hashCode
in interface HashCodeStrategy
public int hashCode(ObjectLocator locator, int hashCode, char value)
hashCode
in interface HashCodeStrategy
public int hashCode(ObjectLocator locator, int hashCode, double value)
hashCode
in interface HashCodeStrategy
public int hashCode(ObjectLocator locator, int hashCode, float value)
hashCode
in interface HashCodeStrategy
public int hashCode(ObjectLocator locator, int hashCode, int value)
hashCode
in interface HashCodeStrategy
public int hashCode(ObjectLocator locator, int hashCode, long value)
hashCode
in interface HashCodeStrategy
public int hashCode(ObjectLocator locator, int hashCode, short value)
hashCode
in interface HashCodeStrategy
public int hashCode(ObjectLocator locator, int hashCode, boolean[] value)
hashCode
in interface HashCodeStrategy
public int hashCode(ObjectLocator locator, int hashCode, byte[] value)
hashCode
in interface HashCodeStrategy
public int hashCode(ObjectLocator locator, int hashCode, char[] value)
hashCode
in interface HashCodeStrategy
public int hashCode(ObjectLocator locator, int hashCode, double[] value)
hashCode
in interface HashCodeStrategy
public int hashCode(ObjectLocator locator, int hashCode, float[] value)
hashCode
in interface HashCodeStrategy
public int hashCode(ObjectLocator locator, int hashCode, int[] value)
hashCode
in interface HashCodeStrategy
public int hashCode(ObjectLocator locator, int hashCode, long[] value)
hashCode
in interface HashCodeStrategy
public int hashCode(ObjectLocator locator, int hashCode, short[] value)
hashCode
in interface HashCodeStrategy
Copyright © 2005–2018. All rights reserved.