|
Plexus v0.13.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PruningTraverser
A Traverser
which allows its traversal to be modified
by pruning.
Method Summary | |
---|---|
void |
prune()
Signals this Traverser to not explore beyond the
last node returned by next() . |
Methods inherited from interface com.phoenixst.plexus.Traverser |
---|
getEdge, removeEdge |
Methods inherited from interface java.util.Iterator |
---|
hasNext, next, remove |
Method Detail |
---|
void 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
.
|
Plexus v0.13.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |