Uses of Class
BinaryTree

Uses of BinaryTree in <Unnamed>
 

Methods in <Unnamed> that return BinaryTree
 BinaryTree<V> BinaryTree.copy()
          Returns a new BinaryTree equal to (but not the same as) this binary tree.
 BinaryTree<V> BinaryTree.getLeftChild()
          Getter method for left child of this BinaryTree node.
 BinaryTree<V> BinaryTree.getRightChild()
          Getter method for right child of this BinaryTree node.
 BinaryTree<V> BinaryTree.leftmostDescendant()
          Returns the leftmost descendant of this binary tree.
 BinaryTree<V> BinaryTree.reverse()
          Returns a new binary tree which is the mirror image of the binary tree whose root is at this binary tree.
 BinaryTree<V> BinaryTree.rightmostDescendant()
          Returns the rightmost descendant of this binary tree.
 

Methods in <Unnamed> that return types with arguments of type BinaryTree
 java.util.Set<BinaryTree<V>> BinaryTree.leaves()
          Returns a Set of all the leaves of this binary tree.
 

Methods in <Unnamed> with parameters of type BinaryTree
protected static boolean BinaryTree.contains(BinaryTree tree, BinaryTree targetNode)
          Tests whether the tree argument contains within itself the targetNode argument.
protected static boolean BinaryTree.contains(BinaryTree tree, BinaryTree targetNode)
          Tests whether the tree argument contains within itself the targetNode argument.
 void BinaryTree.setLeftChild(BinaryTree<V> subtree)
          Sets the left child of this BinaryTree node to be the given subtree.
 void BinaryTree.setRightChild(BinaryTree<V> subtree)
          Sets the right child of this BinaryTree node to be the given subtree.
 

Constructors in <Unnamed> with parameters of type BinaryTree
BinaryTree(V value, BinaryTree<V> leftChild, BinaryTree<V> rightChild)
          Constructor for BinaryTree.
BinaryTree(V value, BinaryTree<V> leftChild, BinaryTree<V> rightChild)
          Constructor for BinaryTree.