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