|
janino.net | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.janino.util.iterator.FilterListIterator
org.codehaus.janino.util.iterator.ReverseListIterator
public class ReverseListIterator
A ListIterator
that reverses the direction of all operations
of a delegate ListIterator
.
Field Summary |
---|
Fields inherited from class org.codehaus.janino.util.iterator.FilterListIterator |
---|
delegate |
Constructor Summary | |
---|---|
ReverseListIterator(java.util.ListIterator delegate)
|
Method Summary | |
---|---|
boolean |
hasNext()
Calls FilterListIterator.delegate .ListIterator.hasPrevious() |
boolean |
hasPrevious()
Calls FilterListIterator.delegate .ListIterator.hasNext() |
java.lang.Object |
next()
Calls FilterListIterator.delegate .ListIterator.previous() |
int |
nextIndex()
Throws an UnsupportedOperationException . |
java.lang.Object |
previous()
Calls FilterListIterator.delegate .ListIterator.next() |
int |
previousIndex()
Throws an UnsupportedOperationException . |
Methods inherited from class org.codehaus.janino.util.iterator.FilterListIterator |
---|
add, remove, set |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ReverseListIterator(java.util.ListIterator delegate)
Method Detail |
---|
public boolean hasNext()
FilterListIterator.delegate
.ListIterator.hasPrevious()
hasNext
in interface java.util.Iterator
hasNext
in interface java.util.ListIterator
hasNext
in class FilterListIterator
public boolean hasPrevious()
FilterListIterator.delegate
.ListIterator.hasNext()
hasPrevious
in interface java.util.ListIterator
hasPrevious
in class FilterListIterator
public java.lang.Object next()
FilterListIterator.delegate
.ListIterator.previous()
next
in interface java.util.Iterator
next
in interface java.util.ListIterator
next
in class FilterListIterator
public java.lang.Object previous()
FilterListIterator.delegate
.ListIterator.next()
previous
in interface java.util.ListIterator
previous
in class FilterListIterator
public int nextIndex()
UnsupportedOperationException
.
nextIndex
in interface java.util.ListIterator
nextIndex
in class FilterListIterator
public int previousIndex()
UnsupportedOperationException
.
previousIndex
in interface java.util.ListIterator
previousIndex
in class FilterListIterator
|
janino.net | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |