|
Web Site | |||||||||
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
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(ListIterator delegate)
|
Method Summary | |
boolean |
hasNext()
Calls FilterListIterator.delegate .ListIterator.hasPrevious() |
boolean |
hasPrevious()
Calls FilterListIterator.delegate .ListIterator.hasNext() |
Object |
next()
Calls FilterListIterator.delegate .ListIterator.previous() |
int |
nextIndex()
Throws an UnsupportedOperationException . |
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(ListIterator delegate)
Method Detail |
public boolean hasNext()
FilterListIterator.delegate
.ListIterator.hasPrevious()
hasNext
in interface ListIterator
hasNext
in class FilterListIterator
public boolean hasPrevious()
FilterListIterator.delegate
.ListIterator.hasNext()
hasPrevious
in interface ListIterator
hasPrevious
in class FilterListIterator
public Object next()
FilterListIterator.delegate
.ListIterator.previous()
next
in interface ListIterator
next
in class FilterListIterator
public Object previous()
FilterListIterator.delegate
.ListIterator.next()
previous
in interface ListIterator
previous
in class FilterListIterator
public int nextIndex()
UnsupportedOperationException
.
nextIndex
in interface ListIterator
nextIndex
in class FilterListIterator
public int previousIndex()
UnsupportedOperationException
.
previousIndex
in interface ListIterator
previousIndex
in class FilterListIterator
|
Web Site | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |