Class ProductFunction
- 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.ProductFunction
-
- All Implemented Interfaces:
FunctionValue
,OperatorFunctionValue
public class ProductFunction extends AbstractMathFunction
Returns the product of a supplied list of numbers.- Since:
- 1.4
-
-
Field Summary
-
Fields inherited from class org.eclipse.nebula.widgets.nattable.formula.function.AbstractFunction
values
-
-
Constructor Summary
Constructors Constructor Description ProductFunction()
ProductFunction(List<FunctionValue> values)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BigDecimal
getValue()
String
toString()
-
Methods inherited from class org.eclipse.nebula.widgets.nattable.formula.function.AbstractMathFunction
addFunctionValue, convertValue, validateMethodParameter
-
Methods inherited from class org.eclipse.nebula.widgets.nattable.formula.function.AbstractFunction
isEmpty
-
-
-
-
Constructor Detail
-
ProductFunction
public ProductFunction()
-
ProductFunction
public ProductFunction(List<FunctionValue> values)
-
-
Method Detail
-
getValue
public BigDecimal getValue()
- Returns:
- The value this
FunctionValue
carries or calculates based on its function.
-
-