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