public interface BidirectionalIterator<K> extends Iterator<K>
This kind of iterator is essentially a
does not support
ListIterator.nextIndex(). It is useful for those maps that can easily
provide bidirectional iteration, but provide no index.
Note that iterators returned by
fastutil classes are more
specific, and support skipping. This class serves the purpose of organising
in a cleaner way the relationships between various iterators.
|Modifier and Type||Method and Description|
Returns whether there is a previous element.
Returns the previous element from the collection.