@InterfaceAudience.Public @InterfaceStability.Evolving public class MarkableIterator<VALUE> extends Object
MarkableIterator is a wrapper iterator class that 
 implements the MarkableIteratorInterface.| Constructor and Description | 
|---|
| MarkableIterator(Iterator<VALUE> itr)Create a new iterator layered on the input iterator | 
| Modifier and Type | Method and Description | 
|---|---|
| void | clearMark()Clear any previously set mark | 
| boolean | hasNext() | 
| void | mark()Mark the current record. | 
| VALUE | next() | 
| void | remove() | 
| void | reset()Reset the iterator to the last record before a call to the previous mark | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic void mark()
          throws IOException
IOExceptionpublic void reset()
           throws IOException
IOExceptionpublic void clearMark()
               throws IOException
IOExceptionpublic boolean hasNext()
public VALUE next()
public void remove()
Copyright © 2023 Apache Software Foundation. All rights reserved.