public final class ImmutableListIterator<T> extends ImmutableIterator<T> implements java.util.ListIterator<T>
currentIndex, list| Constructor and Description |
|---|
ImmutableListIterator(java.util.List<T> list,
int index) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(T o) |
boolean |
hasPrevious() |
int |
nextIndex() |
T |
previous() |
int |
previousIndex() |
void |
set(T o) |
hasNext, next, removepublic ImmutableListIterator(java.util.List<T> list, int index)
public boolean hasPrevious()
hasPrevious in interface java.util.ListIterator<T>public int nextIndex()
nextIndex in interface java.util.ListIterator<T>public int previousIndex()
previousIndex in interface java.util.ListIterator<T>