public class RewindableIterator<E>
extends java.lang.Object
Constructor and Description |
---|
RewindableIterator(java.util.Iterator<E> it) |
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-2012 The Apache Software Foundation