net.cscott.jutil
public class ReverseListIterator<E> extends Object implements ListIterator<E>
ReverseIterator(l.iterator())
but more efficient as it does not need to create a snapshot.
Version: $Id: ReverseListIterator.java,v 1.2 2006-10-30 19:58:06 cananian Exp $
| Constructor Summary | |
|---|---|
| ReverseListIterator(List<E> l) Creates a ReverseListIterator. | |
| Method Summary | |
|---|---|
| void | add(E o) |
| boolean | hasNext() |
| boolean | hasPrevious() |
| E | next() |
| int | nextIndex() |
| E | previous() |
| int | previousIndex() |
| void | remove() |
| void | set(E o) |