Class ArrayUtils


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

      All Methods Static Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      static int hashAll​(int[] array)
      Deprecated.
       
      static int hashAll​(java.lang.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​(java.lang.Object[] array, java.lang.Object o)
      Deprecated.
       
      static int indexOf​(java.lang.Object[] array, java.lang.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 Detail

      • indexOf

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

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

        public static int hashAll​(java.lang.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.