com.generationjava.collections
Class ReverseListIterator
java.lang.Object
com.generationjava.collections.ReverseListIterator
- All Implemented Interfaces:
- Iterator
- public class ReverseListIterator
- extends Object
- implements Iterator
An iterator that iterates over an array or List, backwards.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReverseListIterator
public ReverseListIterator(Object[] array)
- Construct with an Array.
ReverseListIterator
public ReverseListIterator(List list)
- Construct with an List.
next
public Object next()
- Specified by:
next in interface Iterator
hasNext
public boolean hasNext()
- Specified by:
hasNext in interface Iterator
remove
public void remove()
- Specified by:
remove in interface Iterator
Copyright © 2000-2005 OSJava. All Rights Reserved.