Package org.apache.lucene.util
Class FilterIterator<T>
- java.lang.Object
-
- org.apache.lucene.util.FilterIterator<T>
-
- All Implemented Interfaces:
java.util.Iterator<T>
public abstract class FilterIterator<T> extends java.lang.Object implements java.util.Iterator<T>
AnIterator
implementation that filters elements with a boolean predicate.- See Also:
predicateFunction(T)
-
-
Constructor Summary
Constructors Constructor Description FilterIterator(java.util.Iterator<T> baseIterator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasNext()
T
next()
void
remove()
-
-
-
Constructor Detail
-
FilterIterator
public FilterIterator(java.util.Iterator<T> baseIterator)
-
-