|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.japisoft.formula.operator.unary.ABSOperator
[ A - B ] = -A + B if ( A - B < 0 ) else A - B
Field Summary | |
static java.lang.String |
NAME
|
Constructor Summary | |
ABSOperator()
|
Method Summary | |
java.lang.Object |
eval(OperatorContext context)
Eval this expression and return the result |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String NAME
Constructor Detail |
public ABSOperator()
Method Detail |
public java.lang.Object eval(OperatorContext context) throws EvaluateException
UnaryOperator
eval
in interface UnaryOperator
context
- A context for getting the operand value
EvaluateException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |