Package java.lang.reflect
Class Array
java.lang.Object
java.lang.reflect.Array
-
Method Summary
Modifier and TypeMethodDescriptionstatic Object
static boolean
getBoolean
(Object var0, int var1) static byte
static char
static double
static float
static int
static int
static long
static short
static Object
newInstance
(Class var0, int var1) static Object
newInstance
(Class var0, int[] var1) static void
static void
setBoolean
(Object var0, int var1, boolean var2) static void
static void
static void
static void
static void
static void
static void
-
Method Details
-
get
public static Object get(Object var0, int var1) throws IllegalArgumentException, ArrayIndexOutOfBoundsException -
getBoolean
public static boolean getBoolean(Object var0, int var1) throws IllegalArgumentException, ArrayIndexOutOfBoundsException -
getByte
public static byte getByte(Object var0, int var1) throws IllegalArgumentException, ArrayIndexOutOfBoundsException -
getChar
public static char getChar(Object var0, int var1) throws IllegalArgumentException, ArrayIndexOutOfBoundsException -
getDouble
public static double getDouble(Object var0, int var1) throws IllegalArgumentException, ArrayIndexOutOfBoundsException -
getFloat
public static float getFloat(Object var0, int var1) throws IllegalArgumentException, ArrayIndexOutOfBoundsException -
getInt
public static int getInt(Object var0, int var1) throws IllegalArgumentException, ArrayIndexOutOfBoundsException -
getLength
- Throws:
IllegalArgumentException
-
getLong
public static long getLong(Object var0, int var1) throws IllegalArgumentException, ArrayIndexOutOfBoundsException -
getShort
public static short getShort(Object var0, int var1) throws IllegalArgumentException, ArrayIndexOutOfBoundsException -
newInstance
public static Object newInstance(Class var0, int[] var1) throws NegativeArraySizeException, IllegalArgumentException -
newInstance
- Throws:
NegativeArraySizeException
-
set
public static void set(Object var0, int var1, Object var2) throws IllegalArgumentException, ArrayIndexOutOfBoundsException -
setBoolean
public static void setBoolean(Object var0, int var1, boolean var2) throws IllegalArgumentException, ArrayIndexOutOfBoundsException -
setByte
public static void setByte(Object var0, int var1, byte var2) throws IllegalArgumentException, ArrayIndexOutOfBoundsException -
setChar
public static void setChar(Object var0, int var1, char var2) throws IllegalArgumentException, ArrayIndexOutOfBoundsException -
setDouble
public static void setDouble(Object var0, int var1, double var2) throws IllegalArgumentException, ArrayIndexOutOfBoundsException -
setFloat
public static void setFloat(Object var0, int var1, float var2) throws IllegalArgumentException, ArrayIndexOutOfBoundsException -
setInt
public static void setInt(Object var0, int var1, int var2) throws IllegalArgumentException, ArrayIndexOutOfBoundsException -
setLong
public static void setLong(Object var0, int var1, long var2) throws IllegalArgumentException, ArrayIndexOutOfBoundsException -
setShort
public static void setShort(Object var0, int var1, short var2) throws IllegalArgumentException, ArrayIndexOutOfBoundsException
-