public class ArrayUtils
extends java.lang.Object
public static <T> T[] copyOf(T[] source, int newlength)
T
- type of the arraysource
- source arraynewlength
- new length of the target arraypublic static <T> T[] concatAll(T[] first, T[]... rest)
T
- type of the arrayfirst
- first arrayrest
- arrays to be added