|
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<T>
org.codehaus.janino.util.iterator.ReverseListIterator<T>
T - The element type of the list iteratorpublic class ReverseListIterator<T>
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<T> delegate)
|
|
| Method Summary | |
|---|---|
boolean |
hasNext()
Calls FilterListIterator.delegate. |
boolean |
hasPrevious()
Calls FilterListIterator.delegate. |
T |
next()
Calls FilterListIterator.delegate. |
int |
nextIndex()
Throws an UnsupportedOperationException. |
T |
previous()
Calls FilterListIterator.delegate. |
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<T> delegate)
| Method Detail |
|---|
public boolean hasNext()
FilterListIterator.delegate.ListIterator.hasPrevious()
hasNext in interface Iterator<T>hasNext in interface ListIterator<T>hasNext in class FilterListIterator<T>public boolean hasPrevious()
FilterListIterator.delegate.ListIterator.hasNext()
hasPrevious in interface ListIterator<T>hasPrevious in class FilterListIterator<T>public T next()
FilterListIterator.delegate.ListIterator.previous()
next in interface Iterator<T>next in interface ListIterator<T>next in class FilterListIterator<T>public T previous()
FilterListIterator.delegate.ListIterator.next()
previous in interface ListIterator<T>previous in class FilterListIterator<T>public int nextIndex()
UnsupportedOperationException.
nextIndex in interface ListIterator<T>nextIndex in class FilterListIterator<T>public int previousIndex()
UnsupportedOperationException.
previousIndex in interface ListIterator<T>previousIndex in class FilterListIterator<T>
|
janino.net | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||