public bool HasNext()
 {
     if (info == 0)
     {
         return(false);
     }
     if (info == 1)
     {
         bool v = this.iter.HasNext();
         if (v == true)
         {
             return(true);
         }
         info = 2;
         return(true);
     }
     if (info == 2)
     {
         info = 3;
         iter = new OysteDatabaseIterator(this.root.Right);
         return(iter.HasNext());
     }
     else
     {
         bool v = this.iter.HasNext();
         if (v == true)
         {
             return(true);
         }
         return(false);
     }
 }
 public void Reset()
 {
     if (root == null)
     {
         info = 0;
     }
     else
     {
         info = 1;
         iter = new OysteDatabaseIterator(this.root.Left);
     }
 }