[Java] Class Arrays
- org.apache.groovy.util.Arrays
Methods Summary
Type Params | Return Type | Name and description |
---|---|---|
<T> | public static T[] |
concat(T[] arrays) Concatenate arrays and ignore null array |
Inherited Methods Summary
Methods inherited from class | Name |
---|---|
class Object | wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Method Detail
<T> @SuppressWarnings("unchecked") public static T[] concat(T[] arrays)
Concatenate arrays and ignore null array
- Parameters:
-
arrays
- arrays to merge
- Type Parameters:
-
T
- array component type
- Returns:
- the concatenated array
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/3.0.7/html/gapi/org/apache/groovy/util/Arrays.html