|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.ode.utils.ArrayUtils
public class ArrayUtils
Utility class for dealing with arrays.
| Field Summary | |
|---|---|
static java.lang.Class[] |
EMPTY_CLASS_ARRAY
|
static java.lang.Object[] |
EMPTY_OBJECT_ARRAY
|
| Constructor Summary | |
|---|---|
ArrayUtils()
|
|
| Method Summary | ||
|---|---|---|
static
|
makeCollection(java.lang.Class<? extends java.util.Collection> type,
T[] elements)
Make a Collection out of an array. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.Object[] EMPTY_OBJECT_ARRAY
public static final java.lang.Class[] EMPTY_CLASS_ARRAY
| Constructor Detail |
|---|
public ArrayUtils()
| Method Detail |
|---|
public static <T> java.util.Collection<T> makeCollection(java.lang.Class<? extends java.util.Collection> type,
T[] elements)
Collection out of an array.
type - the type of Collection to make.elements - objects to put into the collection.
Collection of the type given in the type argument containing elements
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||