com.japisoft.formula.lib.standard
Class ProdFunction

java.lang.Object
  extended bycom.japisoft.formula.lib.Function
      extended bycom.japisoft.formula.lib.standard.AbstractFunction
          extended bycom.japisoft.formula.lib.standard.ProdFunction

public class ProdFunction
extends AbstractFunction

Compute the product 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
 
Fields inherited from class com.japisoft.formula.lib.Function
anyArguments
 
Constructor Summary
ProdFunction()
           
 
Method Summary
 Variant evaluate(ListOfArgument args)
           
 boolean matchArgument(ListOfArgument args)
           
 
Methods inherited from class com.japisoft.formula.lib.standard.AbstractFunction
getFirstArgument, getSecondArgument, hasDoubleArgument
 
Methods inherited from class com.japisoft.formula.lib.Function
getArgsType, getFunctionName, setArgsType, toString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ProdFunction

public ProdFunction()
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