- java.lang.Object
-
- org.jvnet.jaxb.lang.DefaultHashCodeStrategy
-
- All Implemented Interfaces:
HashCodeStrategy
- Direct Known Subclasses:
JAXBHashCodeStrategy
public class DefaultHashCodeStrategy extends Object implements HashCodeStrategy
-
-
Field Summary
Fields Modifier and Type Field Description static DefaultHashCodeStrategyINSTANCE
-
Constructor Summary
Constructors Constructor Description DefaultHashCodeStrategy()DefaultHashCodeStrategy(int multiplierNonZeroOddNumber)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DefaultHashCodeStrategygetInstance()inthashCode(ObjectLocator locator, int hashCode, boolean value)inthashCode(ObjectLocator locator, int hashCode, boolean[] value)inthashCode(ObjectLocator locator, int hashCode, boolean[] value, boolean valueSet)inthashCode(ObjectLocator locator, int hashCode, boolean value, boolean valueSet)inthashCode(ObjectLocator locator, int hashCode, byte value)inthashCode(ObjectLocator locator, int hashCode, byte[] value)inthashCode(ObjectLocator locator, int hashCode, byte[] value, boolean valueSet)inthashCode(ObjectLocator locator, int hashCode, byte value, boolean valueSet)inthashCode(ObjectLocator locator, int hashCode, char value)inthashCode(ObjectLocator locator, int hashCode, char[] value)inthashCode(ObjectLocator locator, int hashCode, char[] value, boolean valueSet)inthashCode(ObjectLocator locator, int hashCode, char value, boolean valueSet)inthashCode(ObjectLocator locator, int hashCode, double value)inthashCode(ObjectLocator locator, int hashCode, double[] value)inthashCode(ObjectLocator locator, int hashCode, double[] value, boolean valueSet)inthashCode(ObjectLocator locator, int hashCode, double value, boolean valueSet)inthashCode(ObjectLocator locator, int hashCode, float value)inthashCode(ObjectLocator locator, int hashCode, float[] value)inthashCode(ObjectLocator locator, int hashCode, float[] value, boolean valueSet)inthashCode(ObjectLocator locator, int hashCode, float value, boolean valueSet)inthashCode(ObjectLocator locator, int hashCode, int value)inthashCode(ObjectLocator locator, int hashCode, int[] value)inthashCode(ObjectLocator locator, int hashCode, int[] value, boolean valueSet)inthashCode(ObjectLocator locator, int hashCode, int value, boolean valueSet)inthashCode(ObjectLocator locator, int hashCode, long value)inthashCode(ObjectLocator locator, int hashCode, long[] value)inthashCode(ObjectLocator locator, int hashCode, long[] value, boolean valueSet)inthashCode(ObjectLocator locator, int hashCode, long value, boolean valueSet)inthashCode(ObjectLocator locator, int hashCode, short value)inthashCode(ObjectLocator locator, int hashCode, short[] value)inthashCode(ObjectLocator locator, int hashCode, short[] value, boolean valueSet)inthashCode(ObjectLocator locator, int hashCode, short value, boolean valueSet)inthashCode(ObjectLocator locator, int hashCode, Object object)inthashCode(ObjectLocator locator, int hashCode, Object[] value)inthashCode(ObjectLocator locator, int hashCode, Object[] value, boolean valueSet)inthashCode(ObjectLocator locator, int hashCode, Object value, boolean valueSet)protected inthashCodeInternal(ObjectLocator locator, int hashCode, Enum<?> value)protected inthashCodeInternal(ObjectLocator locator, int hashCode, Enum<?>[] value)protected inthashCodeInternal(ObjectLocator locator, int hashCode, Object value)protected inthashCodeInternal(ObjectLocator locator, int hashCode, HashCode object)protected inthashCodeInternal(ObjectLocator locator, int hashCode, HashCode[] value)
-
-
-
Field Detail
-
INSTANCE
public static final DefaultHashCodeStrategy INSTANCE
-
-
Method Detail
-
hashCode
public int hashCode(ObjectLocator locator, int hashCode, Object object)
-
hashCodeInternal
protected int hashCodeInternal(ObjectLocator locator, int hashCode, Object value)
-
hashCodeInternal
protected int hashCodeInternal(ObjectLocator locator, int hashCode, Enum<?> value)
-
hashCodeInternal
protected int hashCodeInternal(ObjectLocator locator, int hashCode, HashCode object)
-
hashCode
public int hashCode(ObjectLocator locator, int hashCode, Object[] value)
-
hashCodeInternal
protected int hashCodeInternal(ObjectLocator locator, int hashCode, Enum<?>[] value)
-
hashCodeInternal
protected int hashCodeInternal(ObjectLocator locator, int hashCode, HashCode[] value)
-
hashCode
public int hashCode(ObjectLocator locator, int hashCode, boolean value)
-
hashCode
public int hashCode(ObjectLocator locator, int hashCode, byte value)
-
hashCode
public int hashCode(ObjectLocator locator, int hashCode, char value)
-
hashCode
public int hashCode(ObjectLocator locator, int hashCode, double value)
-
hashCode
public int hashCode(ObjectLocator locator, int hashCode, float value)
-
hashCode
public int hashCode(ObjectLocator locator, int hashCode, int value)
-
hashCode
public int hashCode(ObjectLocator locator, int hashCode, long value)
-
hashCode
public int hashCode(ObjectLocator locator, int hashCode, short value)
-
hashCode
public int hashCode(ObjectLocator locator, int hashCode, boolean[] value)
-
hashCode
public int hashCode(ObjectLocator locator, int hashCode, byte[] value)
-
hashCode
public int hashCode(ObjectLocator locator, int hashCode, char[] value)
-
hashCode
public int hashCode(ObjectLocator locator, int hashCode, double[] value)
-
hashCode
public int hashCode(ObjectLocator locator, int hashCode, float[] value)
-
hashCode
public int hashCode(ObjectLocator locator, int hashCode, int[] value)
-
hashCode
public int hashCode(ObjectLocator locator, int hashCode, long[] value)
-
hashCode
public int hashCode(ObjectLocator locator, int hashCode, short[] value)
-
hashCode
public int hashCode(ObjectLocator locator, int hashCode, boolean value, boolean valueSet)
- Specified by:
hashCodein interfaceHashCodeStrategy
-
hashCode
public int hashCode(ObjectLocator locator, int hashCode, byte value, boolean valueSet)
- Specified by:
hashCodein interfaceHashCodeStrategy
-
hashCode
public int hashCode(ObjectLocator locator, int hashCode, char value, boolean valueSet)
- Specified by:
hashCodein interfaceHashCodeStrategy
-
hashCode
public int hashCode(ObjectLocator locator, int hashCode, double value, boolean valueSet)
- Specified by:
hashCodein interfaceHashCodeStrategy
-
hashCode
public int hashCode(ObjectLocator locator, int hashCode, float value, boolean valueSet)
- Specified by:
hashCodein interfaceHashCodeStrategy
-
hashCode
public int hashCode(ObjectLocator locator, int hashCode, int value, boolean valueSet)
- Specified by:
hashCodein interfaceHashCodeStrategy
-
hashCode
public int hashCode(ObjectLocator locator, int hashCode, long value, boolean valueSet)
- Specified by:
hashCodein interfaceHashCodeStrategy
-
hashCode
public int hashCode(ObjectLocator locator, int hashCode, short value, boolean valueSet)
- Specified by:
hashCodein interfaceHashCodeStrategy
-
hashCode
public int hashCode(ObjectLocator locator, int hashCode, Object value, boolean valueSet)
- Specified by:
hashCodein interfaceHashCodeStrategy
-
hashCode
public int hashCode(ObjectLocator locator, int hashCode, boolean[] value, boolean valueSet)
- Specified by:
hashCodein interfaceHashCodeStrategy
-
hashCode
public int hashCode(ObjectLocator locator, int hashCode, byte[] value, boolean valueSet)
- Specified by:
hashCodein interfaceHashCodeStrategy
-
hashCode
public int hashCode(ObjectLocator locator, int hashCode, char[] value, boolean valueSet)
- Specified by:
hashCodein interfaceHashCodeStrategy
-
hashCode
public int hashCode(ObjectLocator locator, int hashCode, double[] value, boolean valueSet)
- Specified by:
hashCodein interfaceHashCodeStrategy
-
hashCode
public int hashCode(ObjectLocator locator, int hashCode, float[] value, boolean valueSet)
- Specified by:
hashCodein interfaceHashCodeStrategy
-
hashCode
public int hashCode(ObjectLocator locator, int hashCode, int[] value, boolean valueSet)
- Specified by:
hashCodein interfaceHashCodeStrategy
-
hashCode
public int hashCode(ObjectLocator locator, int hashCode, long[] value, boolean valueSet)
- Specified by:
hashCodein interfaceHashCodeStrategy
-
hashCode
public int hashCode(ObjectLocator locator, int hashCode, short[] value, boolean valueSet)
- Specified by:
hashCodein interfaceHashCodeStrategy
-
hashCode
public int hashCode(ObjectLocator locator, int hashCode, Object[] value, boolean valueSet)
- Specified by:
hashCodein interfaceHashCodeStrategy
-
getInstance
public static DefaultHashCodeStrategy getInstance()
-
-