public class ListBufferedIterator<T> extends java.lang.Object implements BufferedIterator<T>
| Constructor and Description |
|---|
ListBufferedIterator(java.util.List<T> list) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
T |
head()
Return the next element to be returned by next() without consuming it.
|
T |
next() |
void |
remove() |
public ListBufferedIterator(java.util.List<T> list)
public boolean hasNext()
hasNext in interface java.util.Iterator<T>public void remove()
remove in interface java.util.Iterator<T>public T head()
head in interface BufferedIterator<T>