示例#1
0
 public void AttachLeftSubtree(BinaryTree <T> tree)
 {
     InitSubtree(tree, true);
 }
示例#2
0
 public void AttachRightSubtree(BinaryTree <T> tree)
 {
     InitSubtree(tree, false);
 }
示例#3
0
 public BinaryTree(T rootItem, BinaryTree <T> leftTree, BinaryTree <T> rightTree)
     : this(rootItem)
 {
     AttachLeftSubtree(leftTree);
     AttachRightSubtree(rightTree);
 }