public class ImmutableListIterator<E> extends Object implements ListIterator<E>
ImmutableListIterator class.
| Constructor and Description |
|---|
ImmutableListIterator(ListIterator<E> parent)
Constructor for ImmutableListIterator.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(E o) |
boolean |
hasNext() |
boolean |
hasPrevious() |
E |
next() |
int |
nextIndex() |
E |
previous() |
int |
previousIndex() |
void |
remove() |
void |
set(E o) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic ImmutableListIterator(ListIterator<E> parent)
Constructor for ImmutableListIterator.
parent - a ListIterator object.public void add(E o)
add in interface ListIterator<E>public boolean hasNext()
public boolean hasPrevious()
hasPrevious in interface ListIterator<E>public E next()
public int nextIndex()
nextIndex in interface ListIterator<E>public E previous()
previous in interface ListIterator<E>public int previousIndex()
previousIndex in interface ListIterator<E>public void remove()
public void set(E o)
set in interface ListIterator<E>Copyright © 2016. All Rights Reserved.