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