public class ArrayUtils extends Object
| 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 is of the type
indicated.
|
static Object |
get(Object[] array,
int n,
int type) |
static Object |
get(Object[] array,
int n,
int type,
Object defaultValue) |
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 -