@InterfaceAudience.Public @InterfaceStability.Evolving public class MarkableIterator<VALUE> extends Object
MarkableIterator is a wrapper iterator class that 
 implements the MarkableIteratorInterface.| コンストラクタと説明 | 
|---|
| MarkableIterator(Iterator<VALUE> itr)Create a new iterator layered on the input iterator | 
| 修飾子とタイプ | メソッドと説明 | 
|---|---|
| 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 MarkableIterator(Iterator<VALUE> itr)
itr - underlying iterator that implements MarkableIteratorInterfacepublic void mark() throws IOException
IOExceptionpublic void reset() throws IOException
IOExceptionpublic void clearMark() throws IOException
IOExceptionpublic boolean hasNext()
public void remove()
Copyright © 2016 Apache Software Foundation. All rights reserved.