|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.badlogic.gdx.utils.reflect.ArrayReflection
public final class ArrayReflection
Utilities for Array reflection.
Constructor Summary | |
---|---|
ArrayReflection()
|
Method Summary | |
---|---|
static Object |
get(Object array,
int index)
Returns the value of the indexed component in the supplied array. |
static int |
getLength(Object array)
Returns the length of the supplied array. |
static Object |
newInstance(Class c,
int size)
Creates a new array with the specified component type and length. |
static void |
set(Object array,
int index,
Object value)
Sets the value of the indexed component in the supplied array to the supplied value. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ArrayReflection()
Method Detail |
---|
public static Object newInstance(Class c, int size)
public static int getLength(Object array)
public static Object get(Object array, int index)
public static void set(Object array, int index, Object value)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |