Class ArrayUtils


  • public class ArrayUtils
    extends java.lang.Object
    Array utilities.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static <T> T[] concat​(T[] first, T[]... rest)
      Concatenates the specified arrays.
      • Methods inherited from class java.lang.Object

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

      • concat

        public static <T> T[] concat​(T[] first,
                                     T[]... rest)
        Concatenates the specified arrays.
        Type Parameters:
        T - The array type.
        Parameters:
        first - The first array. Must not be null.
        rest - The remaining arrays.
        Returns:
        The resulting array.