public class IteratorBufferedIterator<T> extends Object implements BufferedIterator<T>
Constructor and Description |
---|
IteratorBufferedIterator(Iterator<T> iter) |
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, wait
forEachRemaining
public T head()
head
in interface BufferedIterator<T>