|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--de.rwth.utils.AbstractTreeIteratorTraversalActions
This class provides default implementations for the
TreeIteratorTraversal.Actions interface. This class actually
implements all methods, but does nothing.
| Constructor Summary | |
AbstractTreeIteratorTraversalActions()
|
|
| Method Summary | |
void |
atEntry(TreeIterator ti)
Called once at the beginning of the traversal, before visiting the first entry in the tree. |
void |
atExit(TreeIterator ti)
Called once at the end of the traversal, after visiting the last entry in the tree. |
void |
atLeaf(TreeIterator ti)
Called once at each leaf entry, after calling atNext or
atRight for this node. |
void |
atLeft(TreeIterator ti)
Called always after executing left on the
TreeIterator. |
void |
atNext(TreeIterator ti)
Called always after executing next on the
TreeIterator. |
void |
atPrevious(TreeIterator ti)
Called always after executing previous on the
TreeIterator. |
void |
atRight(TreeIterator ti)
Called always after executing right on the
TreeIterator. |
void |
atRoot(TreeIterator ti)
Called once at the root entry, before calling atNext for this
node. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AbstractTreeIteratorTraversalActions()
| Method Detail |
public void atEntry(TreeIterator ti)
TreeIteratorTraversal.ActionsatEntry in interface TreeIteratorTraversal.Actionsde.rwth.utils.TreeIteratorTraversal.Actionsti - the TreeIterator being traversed, with 'ti.current()'
returning the current entrypublic void atExit(TreeIterator ti)
TreeIteratorTraversal.ActionsatExit in interface TreeIteratorTraversal.Actionsde.rwth.utils.TreeIteratorTraversal.Actionsti - the TreeIterator being traversed, with 'ti.current()'
returning the current entrypublic void atRoot(TreeIterator ti)
TreeIteratorTraversal.ActionsatNext for this
node.atRoot in interface TreeIteratorTraversal.Actionsde.rwth.utils.TreeIteratorTraversal.Actionsti - the TreeIterator being traversed, with 'ti.current()'
returning the current entrypublic void atLeaf(TreeIterator ti)
TreeIteratorTraversal.ActionsatNext or
atRight for this node.atLeaf in interface TreeIteratorTraversal.Actionsde.rwth.utils.TreeIteratorTraversal.Actionsti - the TreeIterator being traversed, with 'ti.current()'
returning the current entrypublic void atNext(TreeIterator ti)
TreeIteratorTraversal.Actionsnext on the
TreeIterator.atNext in interface TreeIteratorTraversal.Actionsde.rwth.utils.TreeIteratorTraversal.Actionsti - the TreeIterator being traversed, with 'ti.current()'
returning the current entrypublic void atPrevious(TreeIterator ti)
TreeIteratorTraversal.Actionsprevious on the
TreeIterator.atPrevious in interface TreeIteratorTraversal.Actionsde.rwth.utils.TreeIteratorTraversal.Actionsti - the TreeIterator being traversed, with 'ti.current()'
returning the current entrypublic void atLeft(TreeIterator ti)
TreeIteratorTraversal.Actionsleft on the
TreeIterator.atLeft in interface TreeIteratorTraversal.Actionsde.rwth.utils.TreeIteratorTraversal.Actionsti - the TreeIterator being traversed, with 'ti.current()'
returning the current entrypublic void atRight(TreeIterator ti)
TreeIteratorTraversal.Actionsright on the
TreeIterator.atRight in interface TreeIteratorTraversal.Actionsde.rwth.utils.TreeIteratorTraversal.Actionsti - the TreeIterator being traversed, with 'ti.current()'
returning the current entry
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||