Constructor and Description |
---|
ArrayUtils() |
Modifier and Type | Method and Description |
---|---|
static Object |
get(Object[] array,
int n)
Return the element of the array.
|
static Object |
get(Object[] array,
int n,
Class elementClass)
Return the element of the array if exists and if of the type
indicated.
|
static List |
getListOf(Object[] array,
int n,
Class elementClass)
Return the element of the array if this is a list of the indiqued
type.
|
public static Object get(Object[] array, int n)
array
- n
- public static Object get(Object[] array, int n, Class elementClass)
array
- n
- elementClass
- public static List getListOf(Object[] array, int n, Class elementClass)
array
- n
- elementClass
-