Exemple #1
0
 public void Clear()
 {
     if (root != null)
     {
         root.prune();
         Modify();
         root     = null;
         nMembers = 0;
     }
 }
Exemple #2
0
 internal void prune()
 {
     Load();
     if (left != null)
     {
         left.prune();
     }
     if (right != null)
     {
         right.prune();
     }
     Deallocate();
 }