|
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>
T - The element type of the list iteratorpublic abstract class FilterListIterator<T>
An ListIterator that retrieves its elements from a delegate ListIterator. The
default implementation simply passes all method invocations to the delegate.
| Field Summary | |
|---|---|
protected ListIterator<T> |
delegate
|
| Constructor Summary | |
|---|---|
FilterListIterator(ListIterator<T> delegate)
|
|
| Method Summary | |
|---|---|
void |
add(T o)
Calls delegate. |
boolean |
hasNext()
Calls delegate. |
boolean |
hasPrevious()
Calls delegate. |
T |
next()
Calls delegate. |
int |
nextIndex()
Calls delegate. |
T |
previous()
Calls delegate. |
int |
previousIndex()
Calls delegate. |
void |
remove()
Calls delegate. |
void |
set(T o)
Calls delegate. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final ListIterator<T> delegate
FilterListIterator| Constructor Detail |
|---|
public FilterListIterator(ListIterator<T> delegate)
| Method Detail |
|---|
public boolean hasNext()
delegate.ListIterator.hasNext()
hasNext in interface Iterator<T>hasNext in interface ListIterator<T>public T next()
delegate.ListIterator.next()
next in interface Iterator<T>next in interface ListIterator<T>public boolean hasPrevious()
delegate.ListIterator.hasPrevious()
hasPrevious in interface ListIterator<T>public T previous()
delegate.ListIterator.previous()
previous in interface ListIterator<T>public int nextIndex()
delegate.ListIterator.nextIndex()
nextIndex in interface ListIterator<T>public int previousIndex()
delegate.ListIterator.previousIndex()
previousIndex in interface ListIterator<T>public void remove()
delegate.ListIterator.remove()
remove in interface Iterator<T>remove in interface ListIterator<T>public void set(T o)
delegate.ListIterator.set(java.lang.Object)
set in interface ListIterator<T>public void add(T o)
delegate.ListIterator.add(java.lang.Object)
add in interface ListIterator<T>
|
janino.net | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||