Class ArrayTools


  • public class ArrayTools
    extends java.lang.Object
    Not in API.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static <T> T[] append​(T[] array, T element)  
      static <T> T[] insert​(T[] array, T element, int index)  
      static byte[] readBytes​(byte[] array, int offset, int length)  
      static <T> T[] remove​(T[] array, int index)  
      • Methods inherited from class java.lang.Object

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

      • append

        public static <T> T[] append​(T[] array,
                                     T element)
      • insert

        public static <T> T[] insert​(T[] array,
                                     T element,
                                     int index)
      • remove

        public static <T> T[] remove​(T[] array,
                                     int index)
      • readBytes

        public static byte[] readBytes​(byte[] array,
                                       int offset,
                                       int length)