|
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
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.IteratorhasNext in interface java.util.ListIteratorhasNext in class FilterListIteratorpublic boolean hasPrevious()
FilterListIterator.delegate.ListIterator.hasNext()
hasPrevious in interface java.util.ListIteratorhasPrevious in class FilterListIteratorpublic java.lang.Object next()
FilterListIterator.delegate.ListIterator.previous()
next in interface java.util.Iteratornext in interface java.util.ListIteratornext in class FilterListIteratorpublic java.lang.Object previous()
FilterListIterator.delegate.ListIterator.next()
previous in interface java.util.ListIteratorprevious in class FilterListIteratorpublic int nextIndex()
UnsupportedOperationException.
nextIndex in interface java.util.ListIteratornextIndex in class FilterListIteratorpublic int previousIndex()
UnsupportedOperationException.
previousIndex in interface java.util.ListIteratorpreviousIndex in class FilterListIterator
|
Web Site | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||