com.japisoft.formula.lib.standard
Class SumFunction

java.lang.Object
  |
  +--com.japisoft.formula.lib.Function
        |
        +--com.japisoft.formula.lib.standard.AbstractFunction
              |
              +--com.japisoft.formula.lib.standard.SumFunction

public class SumFunction
extends AbstractFunction

Compute the sum values

More information at : http://www.japisoft.com

Version:
1.1
Author:
(c) 2002 JAPISoft

Field Summary
 
Fields inherited from class com.japisoft.formula.lib.standard.AbstractFunction
ANY
 
Constructor Summary
SumFunction()
           
 
Method Summary
 Variant evaluate(ListOfArgument args)
           
 boolean matchArgument(ListOfArgument args)
           
 
Methods inherited from class com.japisoft.formula.lib.Function
getArgsType, getFunctionName, toString, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SumFunction

public SumFunction()
Method Detail

evaluate

public Variant evaluate(ListOfArgument args)
Specified by:
evaluate in class Function
Returns:
an evaluation of the function for the following args.

matchArgument

public boolean matchArgument(ListOfArgument args)
Overrides:
matchArgument in class Function
Returns:
true is the current function supports the following arguments. It checks for each argument for sending a response