public interface Indexed
Modifier and Type | Method and Description |
---|---|
java.lang.Class |
componentType()
Should return the base component type for this Indexed object, or
null if the component type should be queried via getValue(index).getClass.getComponentType()
|
java.lang.Object |
getValue(int index)
Throws an IndexOutOfBoundsException if index is inappropriate.
|
java.lang.Object |
setValue(int index,
java.lang.Object value)
Throws an IndexOutOfBoundsException if index is inappropriate, and IllegalArgumentException
if the value is inappropriate.
|
int |
size() |
java.lang.Class componentType()
int size()
java.lang.Object setValue(int index, java.lang.Object value) throws java.lang.IndexOutOfBoundsException, java.lang.IllegalArgumentException
java.lang.IndexOutOfBoundsException
java.lang.IllegalArgumentException
java.lang.Object getValue(int index) throws java.lang.IndexOutOfBoundsException
java.lang.IndexOutOfBoundsException