com.caucho.util
Class Tree

java.lang.Object
  extended by com.caucho.util.Tree

public class Tree
extends java.lang.Object


Constructor Summary
Tree(java.lang.Object data)
           
 
Method Summary
 Tree append(java.lang.Object data)
           
 void appendTree(Tree child)
           
 java.util.Iterator children()
           
 java.util.Iterator dfs()
           
 java.lang.Object getData()
           
 Tree getFirst()
           
 Tree getLast()
           
 Tree getNext()
           
 Tree getNextPreorder()
           
 Tree getParent()
           
 Tree getPrevious()
           
 Tree getPreviousPreorder()
           
 java.util.Iterator iterator()
           
 void setData(java.lang.Object data)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Tree

public Tree(java.lang.Object data)
Method Detail

getData

public java.lang.Object getData()

setData

public void setData(java.lang.Object data)

getParent

public Tree getParent()

getNext

public Tree getNext()

getNextPreorder

public Tree getNextPreorder()

getPreviousPreorder

public Tree getPreviousPreorder()

getPrevious

public Tree getPrevious()

getFirst

public Tree getFirst()

getLast

public Tree getLast()

append

public Tree append(java.lang.Object data)

appendTree

public void appendTree(Tree child)

children

public java.util.Iterator children()

dfs

public java.util.Iterator dfs()

iterator

public java.util.Iterator iterator()