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.
|
removeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic ReverseIterator(List list)
public boolean hasNext()
hasNext in interface IteratorhasNext in class IteratorAdapterpublic Object next()
next in interface Iteratornext in class IteratorAdapterCopyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.