Class MarkResetSkippingIterator<T>

java.lang.Object
com.complexible.common.collect.AbstractSkippingIterator<T>
com.complexible.common.collect.MarkResetSkippingIterator<T>
All Implemented Interfaces:
CloseableIterator<T>, Copyable<MarkResetIterator<T>>, MarkResetIterator<T>, PeekingSkippingIterator<T>, ResettableIterator<T>, RestrictedMarkResetIterator<T>, SkippingIterator<T>, com.google.common.collect.PeekingIterator<T>, AutoCloseable, Iterator<T>

public class MarkResetSkippingIterator<T> extends AbstractSkippingIterator<T> implements RestrictedMarkResetIterator<T>
Implements the mark-reset behavior via ResettableIterator.reset() and SkippingIterator.skipTo(Object). Note: this class does not CloseableIterator.close() the argument iterator. The class supports restrictions on the underlying iterator, for example, to make sure that it doesn't get out of a specific value range.
Since:
8.0
Author:
Pavel Klinov