public class ArrayUtil
extends Object
A utility that contains methods regarding Arrays.
-
Method Summary
static void
Adds an (array of) primitives types to and
List of
Object.
static char[]
-
Method Details
-
listToCharArray
- Parameters:
list - the List you want to convert.
- Returns:
- the converted char array.
-
addPrimitiveArrayToList
Adds an (array of) primitives types to and
List of
Object.
- Parameters:
object - The Object that can be an array of primitives or just a normal primitive.
clazz - The Type of primitive.
list - the List that will be edited.