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