Package generic
Class FilteredIterator<T>
java.lang.Object
generic.FilteredIterator<T>
-
Constructor Summary
ConstructorsConstructorDescriptionFilteredIterator(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, waitMethods inherited from interface java.lang.Iterable
forEach, spliteratorMethods 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