Class ArraysUtil


  • public class ArraysUtil
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      ArraysUtil()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static <T> T concatenate​(T arrayOne, T arrayTwo)
      Concatenate two arrays.
      • Methods inherited from class java.lang.Object

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

      • ArraysUtil

        public ArraysUtil()
    • Method Detail

      • concatenate

        public static <T> T concatenate​(T arrayOne,
                                        T arrayTwo)
        Concatenate two arrays.
        Type Parameters:
        T - the type of the arrays.
        Parameters:
        arrayOne - the first input array.
        arrayTwo - the second input array.
        Returns:
        a new array where the first and second array are concatenated.