Package org.apache.lucene.util
Class FilterIterator<T>
- java.lang.Object
-
- org.apache.lucene.util.FilterIterator<T>
-
- All Implemented Interfaces:
Iterator<T>
public abstract class FilterIterator<T> extends Object implements Iterator<T>
AnIteratorimplementation that filters elements with a boolean predicate.- See Also:
predicateFunction(T)
-
-
Constructor Summary
Constructors Constructor Description FilterIterator(Iterator<T> baseIterator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanhasNext()Tnext()voidremove()-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining
-
-