org.pentaho.reporting.libraries.formula.function.information
Class CountFunction
java.lang.Object
org.pentaho.reporting.libraries.formula.function.information.CountFunction
- All Implemented Interfaces:
- Serializable, Function
public class CountFunction
- extends Object
- implements Function
This function counts the numbers in the list of NumberSequences provided. Only numbers in references are counted; all
other types are ignored. Errors are not propagated.
- Author:
- Cedric Pronzato
- See Also:
- Serialized Form
CountFunction
public CountFunction()
getCanonicalName
public String getCanonicalName()
- Specified by:
getCanonicalName
in interface Function
evaluate
public TypeValuePair evaluate(FormulaContext context,
ParameterCallback parameters)
throws EvaluationException
- Specified by:
evaluate
in interface Function
- Throws:
EvaluationException