Exemple #1
0
 public static bool compareGT(object a, object b)
 {
     if (a == null)
     {
         return(false);
     }
     if (b == null)
     {
         return(true);
     }
     return(FanObj.compare(a, b) > 0 ? true : false);
 }
Exemple #2
0
 public static long compare(object a, object b)
 {
     if (a == null)
     {
         return((b == null) ? 0 : -1);
     }
     if (b == null)
     {
         return(+1);
     }
     return(FanObj.compare(a, b));
 }