Class ArrayUtils

java.lang.Object
com.mchange.lang.ArrayUtils

public final class ArrayUtils extends Object
Deprecated.
use com.mchange.v1.util.ArrayUtils
  • Method Summary

    Modifier and Type
    Method
    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
    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.
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • indexOf

      public static int indexOf(Object[] array, Object o)
      Deprecated.
      The array may contain nulls, but o must be non-null.
    • identityIndexOf

      public static int identityIndexOf(Object[] array, Object o)
      Deprecated.
    • hashAll

      public 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
    • hashAll

      public static int hashAll(int[] array)
      Deprecated.
    • startsWith

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