public interface ReusableListIterator<E> extends ListIterator<E>, ReusableIterator<E>
| Modifier and Type | Method and Description |
|---|---|
ReusableListIterator<E> |
rewind()
This method is identical to
rewind(0). |
ReusableListIterator<E> |
rewind(int index)
Reset the iterator and specify index of the first element to be returned from the iterator.
|
add, hasNext, hasPrevious, next, nextIndex, previous, previousIndex, remove, setforEachRemainingReusableListIterator<E> rewind()
rewind(0).rewind in interface ReusableIterator<E>ReusableListIterator<E> rewind(int index)
index - index of the first element to be returned from the iteratorCopyright © 2023. All rights reserved.