com.ff.JEvaluator.Functions
Class Avg

java.lang.Object
  extended by com.ff.JEvaluator.Functions.Avg
All Implemented Interfaces:
BaseFunctionInterface

public class Avg
extends java.lang.Object
implements BaseFunctionInterface

Author:
fiorucci To change the template for this generated type comment go to Window>Preferences>Java>Code Generation>Code and Comments

Field Summary
 
Fields inherited from interface com.ff.JEvaluator.BaseFunctionInterface
log
 
Constructor Summary
Avg()
           
 
Method Summary
 int checkSyntax(java.util.List<java.lang.String> p)
           
 java.lang.String compute(java.util.List<java.lang.String> p)
          Computes the average of all input parameters: avg(p1,p2,...,pn)
 java.lang.String getName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Avg

public Avg()
Method Detail

compute

public java.lang.String compute(java.util.List<java.lang.String> p)
Computes the average of all input parameters: avg(p1,p2,...,pn)

Specified by:
compute in interface BaseFunctionInterface

checkSyntax

public int checkSyntax(java.util.List<java.lang.String> p)
Specified by:
checkSyntax in interface BaseFunctionInterface

getName

public java.lang.String getName()
Specified by:
getName in interface BaseFunctionInterface