Beispiel #1
0
 @Override
 public Object getValue(PageContext pc) throws PageException {
   return Operator.compare(left.getValue(pc), right.getValue(pc)) >= 0
       ? Boolean.TRUE
       : Boolean.FALSE;
 }
Beispiel #2
0
 @Override
 public int compareTo(String str) {
   return Operator.compare(castToString(), str);
 }
Beispiel #3
0
 @Override
 public int compareTo(DateTime dt) throws PageException {
   return Operator.compare((java.util.Date) this, (java.util.Date) dt);
 }
Beispiel #4
0
 @Override
 public int compareTo(double d) throws PageException {
   return Operator.compare(castToDoubleValue(), d);
 }
Beispiel #5
0
 @Override
 public int compareTo(boolean b) {
   return Operator.compare(castToDoubleValue(), b ? 1D : 0D);
 }