public interface PruningTraverser extends Traverser
Traverser which allows its traversal to be modified
by pruning.| Modifier and Type | Method and Description |
|---|---|
void |
prune()
Signals this
Traverser to not explore beyond the
last node returned by next(). |
getEdge, removeEdgevoid prune()
Traverser to not explore beyond the
last node returned by next(). This method can
be called only once per call to next(). After
calling this method (and before calling next()
again), remove(), getEdge(),
and removeEdge() will all throw
IllegalStateExceptions.IllegalStateException - if next() has not
yet been called, or remove(),
removeEdge, or prune() has been
called after the last call to next().UnsupportedOperationException - if this method is not
supported by this Traverser.See the Plexus project home, hosted by SourceForge.
Copyright ? 1994-2006, by Phoenix Software Technologists, Inc. and others. All Rights Reserved. Use is subject to license terms.