Ejemplo n.º 1
0
 public virtual void Insert(T v)
 {
     if (_root == null)
     {
         _root = new SB_BinarySearchTree <T> .Node(v);
     }
     else
     {
         if (SB_BinarySearchTree <T> .Find(_root, v) != null)
         {
             return;
         }
         _root = SB_BinarySearchTree <T> .Insert(_root, v);
     }
 }