public final class ArrayUtils extends Object
Modifier and Type | Method and Description |
---|---|
static int |
hashAll(int[] array)
Deprecated.
|
static int |
hashAll(Object[] array)
Deprecated.
finds a hash value which takes into account
the value of all elements, such that two object
arrays for which Arrays.equals(a1, a2) returns
true will hashAll() to the same value
|
static int |
identityIndexOf(Object[] array,
Object o)
Deprecated.
|
static int |
indexOf(Object[] array,
Object o)
Deprecated.
The array may contain nulls, but o
must be non-null.
|
static boolean |
startsWith(byte[] checkMe,
byte[] maybePrefix)
Deprecated.
|
public static int indexOf(Object[] array, Object o)
public static int hashAll(Object[] array)
public static int hashAll(int[] array)
public static boolean startsWith(byte[] checkMe, byte[] maybePrefix)