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
|
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 |
SiblingChildTree
public SiblingChildTree()
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.