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

PlusOperator

public class PlusOperator extends ArithmeticOperator

The implementation of the plus operator

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

Fields Summary
public static final PlusOperator
SINGLETON
Constructors Summary
public PlusOperator()
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 "+";