Package org.apache.camel.util
Class FilterIterator<T>
java.lang.Object
org.apache.camel.util.FilterIterator<T>
- All Implemented Interfaces:
Closeable
,AutoCloseable
,Iterator<T>
A filtering iterator
-
Constructor Summary
ConstructorDescriptionFilterIterator
(Iterator<T> it) FilterIterator
(Iterator<T> it, Predicate<T> filter) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Iterator
forEachRemaining
-
Constructor Details
-
FilterIterator
-
FilterIterator
-
-
Method Details