Class PeekMarkIterator<E>

java.lang.Object
org.eclipse.rdf4j.query.algebra.evaluation.iterator.PeekMarkIterator<E>
All Implemented Interfaces:
AutoCloseable, Iterator<E>, CloseableIteration<E>

@Experimental public class PeekMarkIterator<E> extends Object implements CloseableIteration<E>
An iterator that allows to peek at the next element without consuming it. It also allows to mark the current position and reset to that position.
Author:
HÃ¥vard M. Ottestad