示例#1
0
 public String evalString(VTDNav vn) {
   double dval = operand.evalNumber(vn);
   if (dval == (int) dval) {
     return "" + ((int) dval);
   }
   return "" + dval;
 }
示例#2
0
 public void setPosition(int pos) {
   operand.setPosition(pos);
 }
示例#3
0
 public void setContextSize(int size) {
   operand.setContextSize(size);
 }
示例#4
0
 // to support computer context size
 // needs to add
 public boolean requireContextSize() {
   return operand.requireContextSize();
 }
示例#5
0
 public void reset(VTDNav vn) {
   operand.reset(vn);
 }
示例#6
0
 public double evalNumber(VTDNav vn) {
   return -1 * operand.evalNumber(vn);
 }
示例#7
0
  public boolean evalBoolean(VTDNav vn) {

    return operand.evalBoolean(vn);
  }