org.apache.accumulo.examples.wikisearch.parser
Class TreeNode.PostorderEnumeration

java.lang.Object
  extended by org.apache.accumulo.examples.wikisearch.parser.TreeNode.PostorderEnumeration
All Implemented Interfaces:
Enumeration<TreeNode>
Enclosing class:
TreeNode

public final class TreeNode.PostorderEnumeration
extends Object
implements Enumeration<TreeNode>


Field Summary
protected  Enumeration<TreeNode> children
           
protected  TreeNode root
           
protected  Enumeration<TreeNode> subtree
           
 
Constructor Summary
TreeNode.PostorderEnumeration(TreeNode rootNode)
           
 
Method Summary
 boolean hasMoreElements()
           
 TreeNode nextElement()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

root

protected TreeNode root

children

protected Enumeration<TreeNode> children

subtree

protected Enumeration<TreeNode> subtree
Constructor Detail

TreeNode.PostorderEnumeration

public TreeNode.PostorderEnumeration(TreeNode rootNode)
Method Detail

hasMoreElements

public boolean hasMoreElements()
Specified by:
hasMoreElements in interface Enumeration<TreeNode>

nextElement

public TreeNode nextElement()
Specified by:
nextElement in interface Enumeration<TreeNode>


Copyright © 2012 The Apache Software Foundation. All Rights Reserved.