Function for internal methods.
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | add(T
the element to insert element)Implements java. |
| private ListIterator | |
| public final boolean | hasPrevious()
Implements java. true if this list iterator has more elements when
traversing the list in the reverse direction.
|
| public final int | nextIndex()
Implements java. next.
|
| public final T | previous()
Implements java. |
| public final int | previousIndex()
Implements java. previous.
|
| public void | set(T
the element with which to replace the last element returned by
element)next or previousImplements java. next or
previous with the specified element (optional operation).
|
| TransformedListIterator | back to summary |
|---|---|
| pack-priv TransformedListIterator(ListIterator<? extends F> backingIterator) | |
| add | back to summary |
|---|---|
| public void add(T element) Implements java. Doc from java. Inserts the specified element into the list (optional operation).
The element is inserted immediately before the element that
would be returned by
| |
| backingIterator | back to summary |
|---|---|
| private ListIterator | |
| hasPrevious | back to summary |
|---|---|
| public final boolean hasPrevious() Implements java. Doc from java. Returns
| |
| nextIndex | back to summary |
|---|---|
| public final int nextIndex() Implements java. Doc from java. Returns the index of the element that would be returned by a
subsequent call to
| |
| previous | back to summary |
|---|---|
| public final T previous() Implements java. Doc from java. Returns the previous element in the list and moves the cursor
position backwards. This method may be called repeatedly to
iterate through the list backwards, or intermixed with calls to
| |
| previousIndex | back to summary |
|---|---|
| public final int previousIndex() Implements java. Doc from java. Returns the index of the element that would be returned by a
subsequent call to
| |
| set | back to summary |
|---|---|
| public void set(T element) Implements java. Doc from java. Replaces the last element returned by
| |