T - The element type of the iteratorpublic abstract class FilterIterator<T>
extends java.lang.Object
implements java.util.Iterator<T>
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<T> |
delegate |
| Constructor and Description |
|---|
FilterIterator(java.util.Iterator<T> delegate) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
T |
next() |
void |
remove() |
protected final java.util.Iterator<T> delegate
FilterIteratorpublic FilterIterator(java.util.Iterator<T> delegate)