Exemple #1
0
 public BTreeListNode Find(int value)
 {
     for (BTreeListNode node = Root; node != null; node = node.Next)
     {
         if (value == node.Value)
         {
             return(node);
         }
         else if (value < node.Value)
         {
             return(node.Branch.Find(value));
         }
     }
     return(After.Find(value));
 }