Ejemplo n.º 1
0
        public static void Cleart(CKTree tree)
        {
            var bound    = tree.Root.Bound;
            var capacity = tree.Root.Capacity;

            CKNode.NodeFree(tree.Root);
            tree.Root = CKNode.New(bound, capacity);
        }
Ejemplo n.º 2
0
 public static void Free(CKTree tree)
 {
     if (tree.Root != null)
     {
         CKNode.NodeFree(tree.Root);
         tree = null;
     }
 }