E - the type of elements returned by this iteratorpublic class FilteredIterator<E>
extends com.google.common.collect.AbstractIterator<E>
TreeIterator that only returns nodes that satisfy a predicate and skips all others
and their descendants.| Constructor and Description |
|---|
FilteredIterator(TreeIterator<E> delegate,
com.google.common.base.Predicate<? super E> predicate)
Constructs a new iterator.
|
| Modifier and Type | Method and Description |
|---|---|
protected E |
computeNext() |
endOfData, hasNext, next, peekclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic FilteredIterator(TreeIterator<E> delegate, com.google.common.base.Predicate<? super E> predicate)
delegate - a tree iteratorpredicate - the predicate to satisfy; all nodes (including their descendants) for which the predicate
yields false are skipped
Copyright (c) 2006, 2015 Obeo and others. All rights reserved.