public class IteratorBufferedIterator<T> extends java.lang.Object implements BufferedIterator<T>
| Constructor and Description |
|---|
IteratorBufferedIterator(java.util.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() |
public IteratorBufferedIterator(java.util.Iterator<T> iter)
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>