Class AverageFunction
java.lang.Object
org.eclipse.nebula.widgets.nattable.formula.function.AbstractFunction
org.eclipse.nebula.widgets.nattable.formula.function.AbstractMathFunction
org.eclipse.nebula.widgets.nattable.formula.function.SumFunction
org.eclipse.nebula.widgets.nattable.formula.function.AverageFunction
- All Implemented Interfaces:
FunctionValue,OperatorFunctionValue
Returns the average of a list of supplied numbers.
- Since:
- 1.4
-
Field Summary
Fields inherited from class org.eclipse.nebula.widgets.nattable.formula.function.AbstractFunction
values -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.eclipse.nebula.widgets.nattable.formula.function.SumFunction
toStringMethods inherited from class org.eclipse.nebula.widgets.nattable.formula.function.AbstractMathFunction
addFunctionValue, convertValue, validateMethodParameterMethods inherited from class org.eclipse.nebula.widgets.nattable.formula.function.AbstractFunction
isEmpty
-
Constructor Details
-
AverageFunction
public AverageFunction() -
AverageFunction
-
-
Method Details
-
getValue
- Specified by:
getValuein interfaceFunctionValue- Overrides:
getValuein classSumFunction- Returns:
- The value this
FunctionValuecarries or calculates based on its function.
-