Package org.apache.groovy.util
Class Arrays
java.lang.Object
org.apache.groovy.util.Arrays
Array utilities.
- Since:
- 3.0.0
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> T[]
concat
(T[]... arrays) Concatenate arrays and ignore null array
-
Method Details
-
concat
public static <T> T[] concat(T[]... arrays) Concatenate arrays and ignore null array- Type Parameters:
T
- array component type- Parameters:
arrays
- arrays to merge- Returns:
- the concatenated array
-