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, closeAfterLast, closeQuietly, collect, concat, concat, concat, empty, filter, first, isEmpty, limit, map, offset, onClose, singleton, size, toCloseable, toCloseable, toCloseable, toList, toSet, transform
forEachRemaining, hasNext, next, remove
void reset()
Iterator.next()
call will return the first element in this iteration.Copyright © 2010-2016 Stardog Union. All Rights Reserved.