@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
|
public MarkableIterator(Iterator<VALUE> itr)
itr
- underlying iterator that implements MarkableIteratorInterfacepublic void mark() throws IOException
IOException
public void reset() throws IOException
IOException
public void clearMark() throws IOException
IOException
public boolean hasNext()
public void remove()
Copyright © 2017 Apache Software Foundation. All rights reserved.