public class PredicateIterator<T> extends AbstractFilteredIterator<T>
END_OF_DATA
Constructor and Description |
---|
PredicateIterator(Iterator<T> delegate,
Predicate<? super T> predicate) |
Modifier and Type | Method and Description |
---|---|
Predicate<? super T> |
getPredicate() |
protected boolean |
isValid(T element) |
computeNextElement
hasNext, next, remove
Copyright (c) 2011, 2012 Eike Stepper (Berlin, Germany) and others.