Package net.cscott.jutil
Class ReverseIterator<E>
java.lang.Object
net.cscott.jutil.SnapshotIterator<E>
net.cscott.jutil.ReverseIterator<E>
- All Implemented Interfaces:
Iterator<E>
A
ReverseIterator iterates through an Iterator
in reverse order. It extends SnapshotIterator, so is
insensitive to changes in the underlying collection once construction
is complete.- Author:
- C. Scott Ananian <cananian@alumni.princeton.edu>