public class PredicatedProxyNodeIterator<T extends Node> extends NodeIterator<T>
Modifier and Type | Field and Description |
---|---|
private Iterator<T> |
iterator |
private NodePredicate |
predicate |
current
Constructor and Description |
---|
PredicatedProxyNodeIterator(Iterator<T> iterator,
NodePredicate predicate) |
Modifier and Type | Method and Description |
---|---|
protected void |
forward() |
hasNext, next, remove
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
private final NodePredicate predicate
public PredicatedProxyNodeIterator(Iterator<T> iterator, NodePredicate predicate)
protected void forward()
forward
in class NodeIterator<T extends Node>