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