public class RewindableIterator<E> extends Object
| Constructor and Description |
|---|
RewindableIterator(Iterator<E> it) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
boolean |
hasNext(int k) |
E |
next() |
void |
noRewind() |
void |
rewind() |
public boolean hasNext()
public boolean hasNext(int k)
public void rewind()
throws IOException
IOExceptionpublic void noRewind()
public E next()
Copyright © 2007-2017 The Apache Software Foundation