Top Constructors Methods
com.mchange.lang

public final Class ArrayUtils

extends Object
Class Inheritance

Deprecated

use com.mchange.v1.util.ArrayUtils

Author
swaldman

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static int
hashAll(Object[] array)

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

public static int
hashAll(int[] array)

public static int
public static int
indexOf(Object[] array, Object o)

The array may contain nulls, but o must be non-null.

public static boolean
startsWith(byte[] checkMe, byte[] maybePrefix)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

ArrayUtilsback to summary
private ArrayUtils()

Method Detail

hashAllback to summary
public static int hashAll(Object[] array)

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

hashAllback to summary
public static int hashAll(int[] array)
identityIndexOfback to summary
public static int identityIndexOf(Object[] array, Object o)
indexOfback to summary
public static int indexOf(Object[] array, Object o)

The array may contain nulls, but o must be non-null.

startsWithback to summary
public static boolean startsWith(byte[] checkMe, byte[] maybePrefix)