de.rwth.utils
Class DFLRTreeIteratorTraversal

java.lang.Object
  |
  +--de.rwth.utils.DFLRTreeIteratorTraversal
All Implemented Interfaces:
TreeIteratorTraversal

public class DFLRTreeIteratorTraversal
extends java.lang.Object
implements TreeIteratorTraversal

Implements a depth-first left-to-right traversal of a TreeIterator.

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

Inner classes inherited from class de.rwth.utils.TreeIteratorTraversal
TreeIteratorTraversal.Actions
 
Constructor Summary
DFLRTreeIteratorTraversal()
          Creates a new DFLRTreeIteratorTraversal instance.
 
Method Summary
 void traverse(TreeIterator ti, TreeIteratorTraversal.Actions actions)
          Performs the traversal.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DFLRTreeIteratorTraversal

public DFLRTreeIteratorTraversal()
Creates a new DFLRTreeIteratorTraversal instance.
Method Detail

traverse

public void traverse(TreeIterator ti,
                     TreeIteratorTraversal.Actions actions)
Performs the traversal.
Specified by:
traverse in interface TreeIteratorTraversal
Parameters:
ti - a TreeIterator value
actions - a 'TreeIteratorTraversal.Actions' value