Class FilterIterator<T>
java.lang.Object
org.apache.jackrabbit.commons.iterator.FilterIterator<T>
org.apache.jackrabbit.commons.flat.FilterIterator<T>
- Type Parameters:
T-
- All Implemented Interfaces:
Iterator<T>
Deprecated.
Iterator filtering out items which do not match a given predicate.
-
Constructor Summary
ConstructorsConstructorDescriptionFilterIterator(Iterator<T> tIterator, Predicate predicate) Deprecated.Create a new filtered iterator based on the giveniterator. -
Method Summary
Methods inherited from class org.apache.jackrabbit.commons.iterator.FilterIterator
hasNext, next, removeMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemaining
-
Constructor Details
-
FilterIterator
Deprecated.Create a new filtered iterator based on the giveniterator.- Parameters:
tIterator- iterator to filterpredicate- only item matching this predicate are included
-
FilterIterator