|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
E - public static interface ListIteratorIndexBased.ListIteratorIndexBasedSource<E>
ListIteratorIndexBased| Method Summary | |
|---|---|
void |
add(int indexPosition,
E element)
Adds a new element at the given index position moving the old element on that position and all following elements one position further. |
E |
get(int indexPosition)
Returns the element at the given index position |
void |
remove(int indexPosition)
Removes the element at the given index position |
void |
set(int indexPosition,
E element)
Sets the element at the given index position |
int |
size()
Returns the size of the underlying structure which is the highest index position added by one |
| Method Detail |
|---|
int size()
E get(int indexPosition)
indexPosition -
void remove(int indexPosition)
indexPosition -
void set(int indexPosition,
E element)
indexPosition - element -
void add(int indexPosition,
E element)
indexPosition - element -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||