public class COUNT extends SummaryFunction
Function.TypeLOCALE_PREFIX| 构造器和说明 |
|---|
COUNT() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected double |
init() |
protected double |
operation(double preview,
double nextEl) |
protected double |
parseObject(java.lang.Object obj) |
java.lang.Object |
run(java.lang.Object[] args)
计算函数结果
使用SUM公式进行计算,公式的使用:
SUM sum = new SUM();
System.out.println(sum.run(new Object[]{1, 2, 3}));
|
getTypeevalExpressiongetCalculator, getCalculatorProvider, getCN, getDescription, getEN, getName, setCalculator, setNamepublic java.lang.Object run(java.lang.Object[] args)
AbstractFunctionrun 在类中 SummaryFunctionargs - 函数的参数,是经过了算子处理了其中特殊参数的protected double init()
init 在类中 SummaryFunctionprotected double operation(double preview,
double nextEl)
operation 在类中 SummaryFunctionprotected double parseObject(java.lang.Object obj)
parseObject 在类中 SummaryFunction