com.phoenixst.plexus.traversals
public interface PruningTraverser extends Traverser
Traverser
which allows its traversal to be modified
by pruning.
Since: 1.0
Version: $Revision: 1.3 $
Method Summary | |
---|---|
void | prune()
Signals this Traverser to not explore beyond the
last node returned by next() . |
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
.
Throws: 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
.