public final class ImmutableListIterator<T> extends ImmutableIterator<T> implements ListIterator<T>
| Constructor and Description |
|---|
ImmutableListIterator(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, removeequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithasNext, next, removeforEachRemainingpublic boolean hasPrevious()
hasPrevious in interface ListIterator<T>public T previous()
previous in interface ListIterator<T>public int nextIndex()
nextIndex in interface ListIterator<T>public int previousIndex()
previousIndex in interface ListIterator<T>public void set(T o)
set in interface ListIterator<T>public void add(T o)
add in interface ListIterator<T>Copyright © 2004–2016. All rights reserved.