Array Members

Array Members

Class Overview | This Package | All Packages

Methods
Name Description
get(Object, int) Returns the value of the indexed component in the specified array object.
getBoolean(Object, int) Returns the value of the indexed component in the specified array object, as a boolean.
getByte(Object, int) Returns the value of the indexed component in the specified array object, as a byte.
getChar(Object, int) Returns the value of the indexed component in the specified array object, as a char.
getDouble(Object, int) Returns the value of the indexed component in the specified array object, as a double.
getFloat(Object, int) Returns the value of the indexed component in the specified array object, as a float.
getInt(Object, int) Returns the value of the indexed component in the specified array object, as an int.
getLength(Object) Returns the length of the specified array object, as an int.
getLong(Object, int) Returns the value of the indexed component in the specified array object, as a long.
getShort(Object, int) Returns the value of the indexed component in the specified array object, as a short.
newInstance(Class, int) Creates a new array with the specified component type and length.
newInstance(Class, int[]) Creates a new array with the specified component type and dimensions.
set(Object, int, Object) Sets the value of the indexed component of the specified array object to the specified new value.
setBoolean(Object, int, boolean) Sets the value of the indexed component of the specified array object to the specified boolean value.
setByte(Object, int, byte) Sets the value of the indexed component of the specified array object to the specified boolean value.
setChar(Object, int, char) Sets the value of the indexed component of the specified array object to the specified byte value.
setDouble(Object, int, double) Sets the value of the indexed component of the specified array object to the specified double value.
setFloat(Object, int, float) Sets the value of the indexed component of the specified array object to the specified float value.
setInt(Object, int, int) Sets the value of the indexed component of the specified array object to the specified int value.
setLong(Object, int, long) Sets the value of the indexed component of the specified array object to the specified long value.
setShort(Object, int, short) Sets the value of the indexed component of the specified array object to the specified short value.