- setChildAt(int, OrderedTree<E>) - Method in class net.junaraki.libtree.OrderedTree
-
Sets the given child to this node at the given index.
- setElement(E) - Method in class net.junaraki.libtree.AbstractTree
-
Sets the given element to this node.
- setElement(E) - Method in interface net.junaraki.libtree.Tree
-
Sets the given element to this node.
- setLeftChild(E) - Method in class net.junaraki.libtree.BinaryTree
-
Sets the left child of this child with the given element.
- setLeftChild(BinaryTree<E>) - Method in class net.junaraki.libtree.BinaryTree
-
Sets the given left child to this node.
- setParent(BinaryTree<E>) - Method in class net.junaraki.libtree.BinaryTree
-
Sets the given parent to this node.
- setParent(OrderedTree<E>) - Method in class net.junaraki.libtree.OrderedTree
-
Sets the given parent to this node.
- setParent(UnorderedTree<E>) - Method in class net.junaraki.libtree.UnorderedTree
-
Sets the given parent to this node.
- setRightChild(E) - Method in class net.junaraki.libtree.BinaryTree
-
Sets the right child of this node with the given element.
- setRightChild(BinaryTree<E>) - Method in class net.junaraki.libtree.BinaryTree
-
Sets the given right child to this node.
- size() - Method in class net.junaraki.libtree.AbstractTree
-
Returns the number of nodes in this tree.
- subsumes(OrderedTree<E>) - Method in class net.junaraki.libtree.OrderedTree
-
Returns true
if the given tree matches this tree or a subtree of the tree.