Java Globus API: Class SiblingChildTree

org.globus.util.binarytree
Class SiblingChildTree

java.lang.Object
  |
  +--org.globus.util.binarytree.BinaryTree
        |
        +--org.globus.util.binarytree.SiblingChildTree
All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable

public class SiblingChildTree
extends BinaryTree

See Also:
Serialized Form

Fields inherited from class org.globus.util.binarytree.BinaryTree
currentNode, root
 
Constructor Summary
SiblingChildTree()
           
 
Method Summary
 java.lang.Object child()
           
 java.lang.Object nextSibling()
           
 java.lang.Object removeChild()
          Removes the current node's child, it's child, and all of the child's siblings.
 java.lang.Object removeNextSibling()
          Removes the current node's next sibling and all of it's children.
 
Methods inherited from class org.globus.util.binarytree.BinaryTree
addFirstChild, addLastChild, firstChild, get, lastChild, parent, removeFirstChild, removeLastChild, root, set, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SiblingChildTree

public SiblingChildTree()
Method Detail

nextSibling

public java.lang.Object nextSibling()

child

public java.lang.Object child()

removeChild

public java.lang.Object removeChild()
Removes the current node's child, it's child, and all of the child's siblings.

removeNextSibling

public java.lang.Object removeNextSibling()
Removes the current node's next sibling and all of it's children. All other siblings are preserved.