public abstract class FilterIterator
extends java.lang.Object
implements java.util.Iterator
Iterator
that retrieves its elements from a delegate
Iterator
. The default implementation simply passes
all method invocations to the delegate.Modifier and Type | Field and Description |
---|---|
protected java.util.Iterator |
delegate |
Constructor and Description |
---|
FilterIterator(java.util.Iterator delegate) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
java.lang.Object |
next() |
void |
remove() |