Package java.lang.reflect
Class Array
- java.lang.Object
-
- java.lang.reflect.Array
-
public final class Array extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Objectget(Object var0, int var1)static booleangetBoolean(Object var0, int var1)static bytegetByte(Object var0, int var1)static chargetChar(Object var0, int var1)static doublegetDouble(Object var0, int var1)static floatgetFloat(Object var0, int var1)static intgetInt(Object var0, int var1)static intgetLength(Object var0)static longgetLong(Object var0, int var1)static shortgetShort(Object var0, int var1)static ObjectnewInstance(Class var0, int var1)static ObjectnewInstance(Class var0, int[] var1)static voidset(Object var0, int var1, Object var2)static voidsetBoolean(Object var0, int var1, boolean var2)static voidsetByte(Object var0, int var1, byte var2)static voidsetChar(Object var0, int var1, char var2)static voidsetDouble(Object var0, int var1, double var2)static voidsetFloat(Object var0, int var1, float var2)static voidsetInt(Object var0, int var1, int var2)static voidsetLong(Object var0, int var1, long var2)static voidsetShort(Object var0, int var1, short var2)
-
-
-
Method Detail
-
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
public static int getLength(Object var0) throws IllegalArgumentException
- 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
public static Object newInstance(Class var0, int var1) throws NegativeArraySizeException
- 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
-
-