コード例 #1
0
ファイル: BTreePointer.cs プロジェクト: masroore/db4o
 public static BTreePointer Min(BTreePointer
     x, BTreePointer y)
 {
     if (x == null)
     {
         return y;
     }
     if (y == null)
     {
         return x;
     }
     if (x.CompareTo(y) < 0)
     {
         return x;
     }
     return y;
 }
コード例 #2
0
 public static Db4objects.Db4o.Internal.Btree.BTreePointer Min(Db4objects.Db4o.Internal.Btree.BTreePointer
                                                               x, Db4objects.Db4o.Internal.Btree.BTreePointer y)
 {
     if (x == null)
     {
         return(y);
     }
     if (y == null)
     {
         return(x);
     }
     if (x.CompareTo(y) < 0)
     {
         return(x);
     }
     return(y);
 }
コード例 #3
0
 public static BTreePointer Min(BTreePointer
                                x, BTreePointer y)
 {
     if (x == null)
     {
         return(y);
     }
     if (y == null)
     {
         return(x);
     }
     if (x.CompareTo(y) < 0)
     {
         return(x);
     }
     return(y);
 }