|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Array
Very basic array abstraction.
Method Summary | ||
---|---|---|
|
get(int index)
Get the element at the provided index. |
|
|
set(E object,
int index)
Set the element at index . |
|
int |
size()
Obtain the current size of the array structure. |
Method Detail |
---|
<E> E get(int index)
E
- The generic type.index
- The index of the desired element.
index
, if available.<E> void set(E object, int index)
index
.
E
- The generic type.object
- The object to place within the array.index
- The index to set the object at.int size()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |