joeq.ClassLib.Common.java.lang.reflect
Class Array
java.lang.Object
joeq.ClassLib.Common.java.lang.reflect.Array
public abstract class Array
- extends Object
Array
- Version:
- $Id: Array.java,v 1.14 2004/09/30 03:35:35 joewhaley Exp $
- Author:
- John Whaley
Constructor Summary |
Array()
|
Method Summary |
static Object |
get(Object array,
int index)
|
static boolean |
getBoolean(Object array,
int index)
|
static byte |
getByte(Object array,
int index)
|
static char |
getChar(Object array,
int index)
|
static double |
getDouble(Object array,
int index)
|
static float |
getFloat(Object array,
int index)
|
static int |
getInt(Object array,
int index)
|
static int |
getLength(Object array)
|
static long |
getLong(Object array,
int index)
|
static short |
getShort(Object array,
int index)
|
static void |
set(Object array,
int index,
Object value)
|
static void |
setBoolean(Object array,
int index,
boolean z)
|
static void |
setByte(Object array,
int index,
byte z)
|
static void |
setChar(Object array,
int index,
char z)
|
static void |
setDouble(Object array,
int index,
double z)
|
static void |
setFloat(Object array,
int index,
float z)
|
static void |
setInt(Object array,
int index,
int z)
|
static void |
setLong(Object array,
int index,
long z)
|
static void |
setShort(Object array,
int index,
short z)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Array
public Array()
getLength
public static int getLength(Object array)
throws IllegalArgumentException
- Throws:
IllegalArgumentException
get
public static Object get(Object array,
int index)
throws IllegalArgumentException,
ArrayIndexOutOfBoundsException
- Throws:
IllegalArgumentException
ArrayIndexOutOfBoundsException
getBoolean
public static boolean getBoolean(Object array,
int index)
getByte
public static byte getByte(Object array,
int index)
getChar
public static char getChar(Object array,
int index)
getShort
public static short getShort(Object array,
int index)
getInt
public static int getInt(Object array,
int index)
getLong
public static long getLong(Object array,
int index)
getFloat
public static float getFloat(Object array,
int index)
getDouble
public static double getDouble(Object array,
int index)
set
public static void set(Object array,
int index,
Object value)
throws IllegalArgumentException,
ArrayIndexOutOfBoundsException
- Throws:
IllegalArgumentException
ArrayIndexOutOfBoundsException
setBoolean
public static void setBoolean(Object array,
int index,
boolean z)
throws IllegalArgumentException,
ArrayIndexOutOfBoundsException
- Throws:
IllegalArgumentException
ArrayIndexOutOfBoundsException
setByte
public static void setByte(Object array,
int index,
byte z)
throws IllegalArgumentException,
ArrayIndexOutOfBoundsException
- Throws:
IllegalArgumentException
ArrayIndexOutOfBoundsException
setChar
public static void setChar(Object array,
int index,
char z)
throws IllegalArgumentException,
ArrayIndexOutOfBoundsException
- Throws:
IllegalArgumentException
ArrayIndexOutOfBoundsException
setShort
public static void setShort(Object array,
int index,
short z)
throws IllegalArgumentException,
ArrayIndexOutOfBoundsException
- Throws:
IllegalArgumentException
ArrayIndexOutOfBoundsException
setInt
public static void setInt(Object array,
int index,
int z)
throws IllegalArgumentException,
ArrayIndexOutOfBoundsException
- Throws:
IllegalArgumentException
ArrayIndexOutOfBoundsException
setLong
public static void setLong(Object array,
int index,
long z)
throws IllegalArgumentException,
ArrayIndexOutOfBoundsException
- Throws:
IllegalArgumentException
ArrayIndexOutOfBoundsException
setFloat
public static void setFloat(Object array,
int index,
float z)
throws IllegalArgumentException,
ArrayIndexOutOfBoundsException
- Throws:
IllegalArgumentException
ArrayIndexOutOfBoundsException
setDouble
public static void setDouble(Object array,
int index,
double z)
throws IllegalArgumentException,
ArrayIndexOutOfBoundsException
- Throws:
IllegalArgumentException
ArrayIndexOutOfBoundsException
Copyright © 2001-2005 John Whaley. All Rights Reserved.