Пример #1
0
        public ThreadedBinaryTree <T> BuildThreadedTree()
        {
            ThreadedBinaryTreeDummyNode <T> dummy = new ThreadedBinaryTreeDummyNode <T>();
            ThreadedBinaryTreeNode <T>      root  = BuildThreadedTree(Root, dummy, dummy);

            dummy.AddChild(root);
            return(new ThreadedBinaryTree <T>(dummy));
        }
Пример #2
0
 internal ThreadedBinaryTree(ThreadedBinaryTreeDummyNode <T> dummy)
 {
     this.dummy = dummy;
 }