Mainly for internal use within the framework.
Thanks to Alex Ruiz for contributing several enhancements to this class!
see CollectionUtils see StringUtils
| Modifier and Type | Field and Description |
|---|---|
| private static final int | |
| private static final int |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static boolean | Returns: whether the given objects are equalfirst array to compare o1, Object second array to compare o2)Compare the given arrays with |
| public static boolean | |
| public static boolean | Returns: whether the given objects are equalfirst Object to compare o1, Object second Object to compare o2)Determine if the given objects are equal, returning |
| public static int | nullSafeHashCode(Object obj)
Return as hash code for the given object; typically the value of
|
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static int |
| INITIAL_HASH | back to summary |
|---|---|
| private static final int INITIAL_HASH | |
| MULTIPLIER | back to summary |
|---|---|
| private static final int MULTIPLIER | |
| ObjectUtils | back to summary |
|---|---|
| private ObjectUtils() | |
| arrayEquals | back to summary |
|---|---|
| private static boolean arrayEquals(Object o1, Object o2) Compare the given arrays with
| |
| isEmpty | back to summary |
|---|---|
| public static boolean isEmpty(Object[] array) Determine whether the given array is empty: i.e.
| |
| nullSafeEquals | back to summary |
|---|---|
| public static boolean nullSafeEquals(Object o1, Object o2) Determine if the given objects are equal, returning
Compares arrays with
| |
| nullSafeHashCode | back to summary |
|---|---|
| public static int nullSafeHashCode(Object obj) Return as hash code for the given object; typically the value of
| |
| nullSafeHashCode | back to summary |
|---|---|
| public static int nullSafeHashCode(Object[] array) Return a hash code based on the contents of the specified array. If
| |
| nullSafeHashCode | back to summary |
|---|---|
| public static int nullSafeHashCode(boolean[] array) Return a hash code based on the contents of the specified array. If
| |
| nullSafeHashCode | back to summary |
|---|---|
| public static int nullSafeHashCode(byte[] array) Return a hash code based on the contents of the specified array. If
| |
| nullSafeHashCode | back to summary |
|---|---|
| public static int nullSafeHashCode(char[] array) Return a hash code based on the contents of the specified array. If
| |
| nullSafeHashCode | back to summary |
|---|---|
| public static int nullSafeHashCode(double[] array) Return a hash code based on the contents of the specified array. If
| |
| nullSafeHashCode | back to summary |
|---|---|
| public static int nullSafeHashCode(float[] array) Return a hash code based on the contents of the specified array. If
| |
| nullSafeHashCode | back to summary |
|---|---|
| public static int nullSafeHashCode(int[] array) Return a hash code based on the contents of the specified array. If
| |
| nullSafeHashCode | back to summary |
|---|---|
| public static int nullSafeHashCode(long[] array) Return a hash code based on the contents of the specified array. If
| |
| nullSafeHashCode | back to summary |
|---|---|
| public static int nullSafeHashCode(short[] array) Return a hash code based on the contents of the specified array. If
| |