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