public class ListBufferedIterator<T> extends Object implements BufferedIterator<T>
| Constructor and Description |
|---|
ListBufferedIterator(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() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic T head()
head in interface BufferedIterator<T>