public class ArrayUtils
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static <T> T[] |
concatAll(T[] first,
T[]... rest)
Concatenates arrays
|
static <T> T[] |
copyOf(T[] source,
int newlength)
Makes a copy of an array.
|
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