public static class Common.ArrayUtils
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.Class<?>[] |
EMPTY_CLASS_ARRAY
An empty immutable
Class array. |
| Constructor and Description |
|---|
Common.ArrayUtils() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isSameLength(java.lang.Object[] array1,
java.lang.Object[] array2)
Checks whether two arrays are the same length, treating
null arrays as length 0. |
public static final java.lang.Class<?>[] EMPTY_CLASS_ARRAY
Class array.public static boolean isSameLength(java.lang.Object[] array1,
java.lang.Object[] array2)
Checks whether two arrays are the same length, treating
null arrays as length 0.
Any multi-dimensional aspects of the arrays are ignored.
array1 - the first array, may be nullarray2 - the second array, may be nulltrue if length of arrays matches, treating
null as an empty array