|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.omnaest.utils.structure.table.concrete.internal.iterator.TableRowListIterator.TableToListIteratorIndexBasedSourceAdapter<E>
E - protected static class TableRowListIterator.TableToListIteratorIndexBasedSourceAdapter<E>
Adapter for a Table to act as a ListIteratorIndexBased.ListIteratorIndexBasedSource
TableRowListIterator| Field Summary | |
|---|---|
protected Table<E> |
table
|
| Constructor Summary | |
|---|---|
TableRowListIterator.TableToListIteratorIndexBasedSourceAdapter(Table<E> table)
|
|
| Method Summary | |
|---|---|
void |
add(int indexPosition,
Table.Row<E> row)
Adds a new element at the given index position moving the old element on that position and all following elements one position further. |
Table.Row<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,
Table.Row<E> row)
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Table<E> table
| Constructor Detail |
|---|
public TableRowListIterator.TableToListIteratorIndexBasedSourceAdapter(Table<E> table)
table - | Method Detail |
|---|
public int size()
ListIteratorIndexBased.ListIteratorIndexBasedSource
size in interface ListIteratorIndexBased.ListIteratorIndexBasedSource<Table.Row<E>>public void remove(int indexPosition)
ListIteratorIndexBased.ListIteratorIndexBasedSource
remove in interface ListIteratorIndexBased.ListIteratorIndexBasedSource<Table.Row<E>>public Table.Row<E> get(int indexPosition)
ListIteratorIndexBased.ListIteratorIndexBasedSource
get in interface ListIteratorIndexBased.ListIteratorIndexBasedSource<Table.Row<E>>
public void set(int indexPosition,
Table.Row<E> row)
ListIteratorIndexBased.ListIteratorIndexBasedSource
set in interface ListIteratorIndexBased.ListIteratorIndexBasedSource<Table.Row<E>>
public void add(int indexPosition,
Table.Row<E> row)
ListIteratorIndexBased.ListIteratorIndexBasedSource
add in interface ListIteratorIndexBased.ListIteratorIndexBasedSource<Table.Row<E>>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||