Package org.bytemechanics.commons.lang
Class ArrayUtils
- java.lang.Object
-
- org.bytemechanics.commons.lang.ArrayUtils
-
public class ArrayUtils extends Object
Array utilities- Since:
- 1.4.0
- Author:
- afarre
-
-
Constructor Summary
Constructors Constructor Description ArrayUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> T[]
concat(T[] _first, T[] _second)
Concatenate two arrays of the same type
-
-
-
Method Detail
-
concat
public static final <T> T[] concat(T[] _first, T[] _second)
Concatenate two arrays of the same type- Type Parameters:
T
- Type of the concatenated array- Parameters:
_first
- First array_second
- Second array- Returns:
- array with the two arrays provided concatenated, if one of them is null return the other if both are null return null
-
-