Open SiteSearch 4.1.1
Final

ORG.oclc.util
Class VTree

java.lang.Object
  |
  +--ORG.oclc.util.VTree

public class VTree
extends Object


Constructor Summary
VTree()
           
VTree(VTree parent)
           
 
Method Summary
 VTree add1stChild(VTree child)
          Add a child which will be the first child in the list.
 void add1stSibling(VTree sibling)
           
 VTree addChild(VTree child)
          Add a child to a node.
 void addSibling(VTree sibling)
           
 Enumeration childVTreeElements()
           
 void deleteChild(VTree child)
          Delete a child from a node.
 int depth()
          count root as depth 0
 VTree dropLastChild()
           
 void dump()
           
 VTree getChildren()
           
 VTree getLastChild()
           
 VTree getParent()
           
 VTree getSiblings()
           
 int maxDepth()
           
 void trimTo(int level)
           
 Enumeration vtreeElements()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VTree

public VTree()

VTree

public VTree(VTree parent)
Method Detail

dump

public void dump()

depth

public int depth()
count root as depth 0

maxDepth

public int maxDepth()

trimTo

public void trimTo(int level)

deleteChild

public void deleteChild(VTree child)
Delete a child from a node.

addChild

public VTree addChild(VTree child)
Add a child to a node. Returns a reference to that child

add1stChild

public VTree add1stChild(VTree child)
Add a child which will be the first child in the list.

add1stSibling

public void add1stSibling(VTree sibling)

addSibling

public void addSibling(VTree sibling)

getChildren

public final VTree getChildren()

getLastChild

public VTree getLastChild()

dropLastChild

public VTree dropLastChild()

getSiblings

public final VTree getSiblings()

getParent

public final VTree getParent()

vtreeElements

public final Enumeration vtreeElements()

childVTreeElements

public final Enumeration childVTreeElements()

Open SiteSearch 4.1.1
Final