Class PreorderTraverse

java.lang.Object
  extended by PreorderTraverse
All Implemented Interfaces:
java.util.Enumeration

public class PreorderTraverse
extends java.lang.Object
implements java.util.Enumeration

Schrittweise Preordertraversierung eines Baumes mit Interface Enumeration


Field Summary
private  Keller k
           
 
Constructor Summary
PreorderTraverse(Baum wurzel)
           
 
Method Summary
 boolean hasMoreElements()
           
 java.lang.Object nextElement()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

k

private Keller k
Constructor Detail

PreorderTraverse

public PreorderTraverse(Baum wurzel)
Method Detail

hasMoreElements

public boolean hasMoreElements()
Specified by:
hasMoreElements in interface java.util.Enumeration

nextElement

public java.lang.Object nextElement()
Specified by:
nextElement in interface java.util.Enumeration