org.shiftone.bigcalc.core.operation.binary.math
Class SubtractBinaryOperation

java.lang.Object
  extended byorg.shiftone.bigcalc.core.operation.binary.AbstractBinaryOperation
      extended byorg.shiftone.bigcalc.core.operation.binary.math.SubtractBinaryOperation
All Implemented Interfaces:
BinaryOperation

public class SubtractBinaryOperation
extends AbstractBinaryOperation
implements BinaryOperation

Version:
$Revision: 1.4 $
Author:
$Author: jeffdrost $

Constructor Summary
SubtractBinaryOperation()
           
 
Method Summary
protected  java.lang.Object calculateBigDecimals(Context stdContext, java.math.BigDecimal lhs, java.math.BigDecimal rhs)
           
protected  java.lang.Object calculateBigIntegers(Context stdContext, java.math.BigInteger lhs, java.math.BigInteger rhs)
           
 java.lang.String getSymbol()
           
 
Methods inherited from class org.shiftone.bigcalc.core.operation.binary.AbstractBinaryOperation
calculateNonNumbers, calculateNumbers, evaluate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.shiftone.bigcalc.core.operation.BinaryOperation
evaluate
 

Constructor Detail

SubtractBinaryOperation

public SubtractBinaryOperation()
Method Detail

calculateBigDecimals

protected java.lang.Object calculateBigDecimals(Context stdContext,
                                                java.math.BigDecimal lhs,
                                                java.math.BigDecimal rhs)
                                         throws java.lang.Exception
Overrides:
calculateBigDecimals in class AbstractBinaryOperation
Throws:
java.lang.Exception

calculateBigIntegers

protected java.lang.Object calculateBigIntegers(Context stdContext,
                                                java.math.BigInteger lhs,
                                                java.math.BigInteger rhs)
                                         throws java.lang.Exception
Overrides:
calculateBigIntegers in class AbstractBinaryOperation
Throws:
java.lang.Exception

getSymbol

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