org.shiftone.bigcalc.core.operation.unary
Class NegateOperation

java.lang.Object
  extended byorg.shiftone.bigcalc.core.operation.unary.NegateOperation
All Implemented Interfaces:
UnaryOperation

public class NegateOperation
extends java.lang.Object
implements UnaryOperation

Version:
$Revision: 1.11 $
Author:
$Author: jeffdrost $

Constructor Summary
NegateOperation()
           
 
Method Summary
 java.lang.Object evaluate(Context stdContext, java.lang.Object value)
           
 java.lang.String getSymbol()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NegateOperation

public NegateOperation()
Method Detail

evaluate

public java.lang.Object evaluate(Context stdContext,
                                 java.lang.Object value)
                          throws java.lang.Exception
Specified by:
evaluate in interface UnaryOperation
Throws:
java.lang.Exception

getSymbol

public java.lang.String getSymbol()
Specified by:
getSymbol in interface UnaryOperation