@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 void mark() throws IOException
IOException
public void reset() throws IOException
IOException
public void clearMark() throws IOException
IOException
public boolean hasNext()
public VALUE next()
public void remove()
Copyright © 2020 Apache Software Foundation. All rights reserved.