public class HashCodeBuilder extends Object
| Constructor and Description |
|---|
HashCodeBuilder() |
HashCodeBuilder(int initialNonZeroOddNumber,
int multiplierNonZeroOddNumber) |
| Modifier and Type | Method and Description |
|---|---|
HashCodeBuilder |
append(boolean value) |
HashCodeBuilder |
append(boolean[] array) |
HashCodeBuilder |
append(byte value) |
HashCodeBuilder |
append(byte[] array) |
HashCodeBuilder |
append(char value) |
HashCodeBuilder |
append(char[] array) |
HashCodeBuilder |
append(double value) |
HashCodeBuilder |
append(double[] array) |
HashCodeBuilder |
append(float value) |
HashCodeBuilder |
append(float[] array) |
HashCodeBuilder |
append(int value) |
HashCodeBuilder |
append(int[] array) |
HashCodeBuilder |
append(long value) |
HashCodeBuilder |
append(long[] array) |
HashCodeBuilder |
append(Object object) |
HashCodeBuilder |
append(Object[] array) |
HashCodeBuilder |
append(short value) |
HashCodeBuilder |
append(short[] array) |
HashCodeBuilder |
appendSuper(int superHashCode) |
int |
hashCode() |
static int |
reflectionHashCode(int initialNonZeroOddNumber,
int multiplierNonZeroOddNumber,
Object object) |
static int |
reflectionHashCode(int initialNonZeroOddNumber,
int multiplierNonZeroOddNumber,
Object object,
boolean testTransients) |
static int |
reflectionHashCode(int initialNonZeroOddNumber,
int multiplierNonZeroOddNumber,
Object object,
boolean testTransients,
Class reflectUpToClass) |
static int |
reflectionHashCode(int initialNonZeroOddNumber,
int multiplierNonZeroOddNumber,
Object object,
boolean testTransients,
Class reflectUpToClass,
String[] excludeFields) |
static int |
reflectionHashCode(Object object) |
static int |
reflectionHashCode(Object object,
boolean testTransients) |
static int |
reflectionHashCode(Object object,
Collection excludeFields) |
static int |
reflectionHashCode(Object object,
String[] excludeFields) |
int |
toHashCode() |
public HashCodeBuilder()
public HashCodeBuilder(int initialNonZeroOddNumber,
int multiplierNonZeroOddNumber)
public static int reflectionHashCode(int initialNonZeroOddNumber,
int multiplierNonZeroOddNumber,
Object object)
public static int reflectionHashCode(int initialNonZeroOddNumber,
int multiplierNonZeroOddNumber,
Object object,
boolean testTransients)
public static int reflectionHashCode(int initialNonZeroOddNumber,
int multiplierNonZeroOddNumber,
Object object,
boolean testTransients,
Class reflectUpToClass)
public static int reflectionHashCode(int initialNonZeroOddNumber,
int multiplierNonZeroOddNumber,
Object object,
boolean testTransients,
Class reflectUpToClass,
String[] excludeFields)
public static int reflectionHashCode(Object object)
public static int reflectionHashCode(Object object, boolean testTransients)
public static int reflectionHashCode(Object object, Collection excludeFields)
public HashCodeBuilder append(boolean value)
public HashCodeBuilder append(boolean[] array)
public HashCodeBuilder append(byte value)
public HashCodeBuilder append(byte[] array)
public HashCodeBuilder append(char value)
public HashCodeBuilder append(char[] array)
public HashCodeBuilder append(double value)
public HashCodeBuilder append(double[] array)
public HashCodeBuilder append(float value)
public HashCodeBuilder append(float[] array)
public HashCodeBuilder append(int value)
public HashCodeBuilder append(int[] array)
public HashCodeBuilder append(long value)
public HashCodeBuilder append(long[] array)
public HashCodeBuilder append(Object object)
public HashCodeBuilder append(Object[] array)
public HashCodeBuilder append(short value)
public HashCodeBuilder append(short[] array)
public HashCodeBuilder appendSuper(int superHashCode)
public int toHashCode()
Copyright © 2016 jufeng. All rights reserved.