public class ReverseIterator extends IteratorAdapter
Constructor and Description |
---|
ReverseIterator(List list)
Construct a reverse iterator on the given list.
|
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext()
Test if there are more elements
|
Object |
next()
Return the next element.
|
remove
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
public ReverseIterator(List list)
public boolean hasNext()
hasNext
in interface Iterator
hasNext
in class IteratorAdapter
public Object next()
next
in interface Iterator
next
in class IteratorAdapter
Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.