Methods Summary |
---|
public void | add(E object)Inserts the specified object into the list between {@code next} and
{@code previous}. The object inserted will be the previous object.
|
public boolean | hasNext()Returns whether there are more elements to iterate.
|
public boolean | hasPrevious()Returns whether there are previous elements to iterate.
|
public E | next()Returns the next object in the iteration.
|
public int | nextIndex()Returns the index of the next object in the iteration.
|
public E | previous()Returns the previous object in the iteration.
|
public int | previousIndex()Returns the index of the previous object in the iteration.
|
public void | remove()Removes the last object returned by {@code next} or {@code previous} from
the list.
|
public void | set(E object)Replaces the last object returned by {@code next} or {@code previous}
with the specified object.
|