Class Arrays


  • public final class Arrays
    extends java.lang.Object
    General array utilities.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private Arrays()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static boolean areEqual​(byte[] a, byte[] b)  
      static boolean areEqual​(int[] a, int[] b)  
      static byte[] clone​(byte[] data)  
      static int[] clone​(int[] data)  
      static void fill​(byte[] array, byte value)  
      static void fill​(long[] array, long value)  
      static void fill​(short[] array, short value)  
      static int hashCode​(byte[] data)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Arrays

        private Arrays()
    • Method Detail

      • areEqual

        public static boolean areEqual​(byte[] a,
                                       byte[] b)
      • areEqual

        public static boolean areEqual​(int[] a,
                                       int[] b)
      • fill

        public static void fill​(byte[] array,
                                byte value)
      • fill

        public static void fill​(long[] array,
                                long value)
      • fill

        public static void fill​(short[] array,
                                short value)
      • hashCode

        public static int hashCode​(byte[] data)
      • clone

        public static byte[] clone​(byte[] data)
      • clone

        public static int[] clone​(int[] data)