public interface BasicListIterator<E>
extends java.util.Iterator<E>
Modifier and Type | Method and Description |
---|---|
boolean |
hasPrevious()
Returns true if the iterator has a previous element.
|
E |
previous()
Returns the previous element and moves the iterator backward one position
with O(1) performance.
|
boolean hasPrevious()
E previous()
java.util.NoSuchElementException
- if there is no previous element.