public abstract class AbstractFilteredIterator<T> extends AbstractIterator<T>
filter the elements of a delegate iterator.END_OF_DATA| Constructor and Description |
|---|
AbstractFilteredIterator(Iterator<T> delegate) |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
computeNextElement()
Returns the next iteration element, or
AbstractIterator.END_OF_DATA if the end of the iteration has been reached. |
protected abstract boolean |
isValid(T element) |
empty, hasNext, next, removeprotected Object computeNextElement()
AbstractIteratorAbstractIterator.END_OF_DATA if the end of the iteration has been reached.computeNextElement in class AbstractIterator<T>protected abstract boolean isValid(T element)
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