com.japisoft.formula.operator_hp.unary
Class MINUSOperator

java.lang.Object
  |
  +--com.japisoft.formula.operator_hp.unary.MINUSOperator
All Implemented Interfaces:
UnaryOperator

public class MINUSOperator
extends java.lang.Object
implements UnaryOperator

-A : in high precision mode

Version:
1.0
Author:
(c) 2004 JAPISoft / http://www.japisoft.com

Field Summary
static java.lang.String NAME
           
 
Constructor Summary
MINUSOperator()
           
 
Method Summary
 java.lang.Object eval(OperatorContext context)
          Eval this expression and return the result
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME

public static final java.lang.String NAME
See Also:
Constant Field Values
Constructor Detail

MINUSOperator

public MINUSOperator()
Method Detail

eval

public java.lang.Object eval(OperatorContext context)
                      throws EvaluateException
Description copied from interface: UnaryOperator
Eval this expression and return the result

Specified by:
eval in interface UnaryOperator
Parameters:
context - A context for getting the operand value
Returns:
The operator result
EvaluateException