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) |
computeNextElement
empty, hasNext, next, remove
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
Copyright (c) 2014 Eike Stepper (Berlin, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html