|
|||||||||
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.Actions
atEntry
in interface TreeIteratorTraversal.Actions
de.rwth.utils.TreeIteratorTraversal.Actions
ti
- the TreeIterator
being traversed, with 'ti.current()'
returning the current entrypublic void atExit(TreeIterator ti)
TreeIteratorTraversal.Actions
atExit
in interface TreeIteratorTraversal.Actions
de.rwth.utils.TreeIteratorTraversal.Actions
ti
- the TreeIterator
being traversed, with 'ti.current()'
returning the current entrypublic void atRoot(TreeIterator ti)
TreeIteratorTraversal.Actions
atNext
for this
node.atRoot
in interface TreeIteratorTraversal.Actions
de.rwth.utils.TreeIteratorTraversal.Actions
ti
- the TreeIterator
being traversed, with 'ti.current()'
returning the current entrypublic void atLeaf(TreeIterator ti)
TreeIteratorTraversal.Actions
atNext
or
atRight
for this node.atLeaf
in interface TreeIteratorTraversal.Actions
de.rwth.utils.TreeIteratorTraversal.Actions
ti
- the TreeIterator
being traversed, with 'ti.current()'
returning the current entrypublic void atNext(TreeIterator ti)
TreeIteratorTraversal.Actions
next
on the
TreeIterator
.atNext
in interface TreeIteratorTraversal.Actions
de.rwth.utils.TreeIteratorTraversal.Actions
ti
- the TreeIterator
being traversed, with 'ti.current()'
returning the current entrypublic void atPrevious(TreeIterator ti)
TreeIteratorTraversal.Actions
previous
on the
TreeIterator
.atPrevious
in interface TreeIteratorTraversal.Actions
de.rwth.utils.TreeIteratorTraversal.Actions
ti
- the TreeIterator
being traversed, with 'ti.current()'
returning the current entrypublic void atLeft(TreeIterator ti)
TreeIteratorTraversal.Actions
left
on the
TreeIterator
.atLeft
in interface TreeIteratorTraversal.Actions
de.rwth.utils.TreeIteratorTraversal.Actions
ti
- the TreeIterator
being traversed, with 'ti.current()'
returning the current entrypublic void atRight(TreeIterator ti)
TreeIteratorTraversal.Actions
right
on the
TreeIterator
.atRight
in interface TreeIteratorTraversal.Actions
de.rwth.utils.TreeIteratorTraversal.Actions
ti
- 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 |