T - the result of this iteratorS - the type of the underlying (source) iteratorpublic abstract class FilterIterator<T,S>
extends java.lang.Object
implements java.util.Iterator<T>
| Modifier and Type | Field and Description |
|---|---|
protected java.util.Iterator<S> |
sourceIter
Derived classes' implementation of next() may refer to this.
|
| Constructor and Description |
|---|
FilterIterator(java.util.Iterator<S> sourceIter) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
protected final java.util.Iterator<S> sourceIter
public FilterIterator(java.util.Iterator<S> sourceIter)
public boolean hasNext()
hasNext in interface java.util.Iterator<T>