FileDocCategorySizeDatePackage
MinusOperator.javaAPI DocGlassfish v2 API3437Sat May 05 19:17:28 BST 2007org.apache.taglibs.standard.lang.jstl

MinusOperator

public class MinusOperator extends ArithmeticOperator

The implementation of the minus operator

author
Nathan Abramson - Art Technology Group
version
$Change: 181177 $$DateTime: 2001/06/26 08:45:09 $$Author: tcfujii $

Fields Summary
public static final MinusOperator
SINGLETON
Constructors Summary
public MinusOperator()
Constructor


  //-------------------------------------
      
    
  
  
Methods Summary
public doubleapply(double pLeft, double pRight, Logger pLogger)
Applies the operator to the given double values, returning a double

    return pLeft - pRight;
  
public longapply(long pLeft, long pRight, Logger pLogger)
Applies the operator to the given double values, returning a double

    return pLeft - pRight;
  
public java.lang.StringgetOperatorSymbol()
Returns the symbol representing the operator

    return "-";