zeus.util
Class TreeNode.PreorderEnumerator

java.lang.Object
  extended byzeus.util.TreeNode.PreorderEnumerator
All Implemented Interfaces:
java.util.Enumeration
Enclosing class:
TreeNode

class TreeNode.PreorderEnumerator
extends java.lang.Object
implements java.util.Enumeration


Field Summary
(package private)  TreeNode current
           
(package private)  TreeNode root
           
(package private)  int type
           
 
Constructor Summary
TreeNode.PreorderEnumerator(TreeNode node, int type)
           
 
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

current

TreeNode current

root

TreeNode root

type

int type
Constructor Detail

TreeNode.PreorderEnumerator

public TreeNode.PreorderEnumerator(TreeNode node,
                                   int type)
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


Copyright © 2000-2003 BT Exact Technologies. All Rights Reserved.