Package generic
Class FilteredIterator<T>
java.lang.Object
generic.FilteredIterator<T>
-
Constructor Summary
ConstructorDescriptionFilteredIterator
(Iterator<T> it, Predicate<T> filter) Construct a new FilteredIterator. -
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.lang.Iterable
forEach, spliterator
Methods inherited from interface java.util.Iterator
forEachRemaining
-
Constructor Details
-
FilteredIterator
Construct a new FilteredIterator.- Parameters:
it
- the iterator to filterfilter
- the filter on T
-
-
Method Details