public BinaryTree(BTNode root, BinaryTree left, BinaryTree right) { this.root = root; root.setLeft(left.root); this.left = left; root.setRight(right.root); this.right = right; }
public void setLeft(BinaryTree left) { root.setLeft(left.root); this.left = left; }