public interface ResettableIterator<T> extends CloseableIterator<T>
Iterator which can be reset to the first element.
CloseableIterator.AbstractCloseableIterator<T>, CloseableIterator.DelegatingCloseableIterator<T>, CloseableIterator.EmptyCloseableIterator<T>| Modifier and Type | Method and Description |
|---|---|
void |
reset()
Resets the iterator to the beginning so the following
Iterator.next() call will return the first element in this iteration. |
close, closeQuietly, collect, concat, concat, concat, empty, filter, first, isEmpty, map, onClose, singleton, size, toCloseable, toCloseable, toCloseable, toList, toSet, transformforEachRemaining, hasNext, next, removevoid reset()
Iterator.next() call will return the first element in this iteration.Copyright © 2010-2016 Stardog Union. All Rights Reserved.