de.rwth.utils
Interface TreeIteratorTraversal

All Known Implementing Classes:
DFLRTreeIteratorTraversal

public interface TreeIteratorTraversal

The interface TreeIteratorTraversal describes generic traversals of TreeIterator objects.

Version:
$Id: TreeIteratorTraversal.java,v 1.2 2002/09/17 06:53:53 mohnen Exp $
Author:
Markus Mohnen

Inner Class Summary
static interface TreeIteratorTraversal.Actions
          The inner interface Actions describes how a TreeTraversal should act during the traversal.
 
Method Summary
 void traverse(TreeIterator ti, TreeIteratorTraversal.Actions actions)
          Perform the traversal of the TreeIterator.
 

Method Detail

traverse

public void traverse(TreeIterator ti,
                     TreeIteratorTraversal.Actions actions)
Perform the traversal of the TreeIterator.
Parameters:
ti - the TreeIterator being traversed, with 'ti.current()' returning the current entry
actions - a 'TreeIteratorTraversal.Actions' value describing what actions should be performed on the entries.