public interface OrderedIterator
extends java.util.Iterator
This iterator allows both forward and reverse iteration through the collection.
Modifier and Type | Method and Description |
---|---|
boolean |
hasPrevious()
Checks to see if there is a previous element that can be iterated to.
|
java.lang.Object |
previous()
Gets the previous element from the collection.
|
boolean hasPrevious()
true
if the iterator has a previous elementjava.lang.Object previous()
java.util.NoSuchElementException
- if the iteration is finishedCopyright © 2010 - 2020 Adobe. All Rights Reserved