public class ChainedListIterator<T>
extends java.lang.Object
implements java.util.ListIterator<T>
Constructor and Description |
---|
ChainedListIterator(java.util.List<java.util.List<T>> lists,
int index) |
Modifier and Type | Method and Description |
---|---|
void |
add(T t) |
boolean |
hasNext() |
boolean |
hasPrevious() |
T |
next() |
int |
nextIndex() |
T |
previous() |
int |
previousIndex() |
void |
remove() |
void |
set(T t) |
public ChainedListIterator(java.util.List<java.util.List<T>> lists, int index)
public boolean hasNext()
public T next()
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>
public void remove()