Class SquareRootFunction
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.AbstractMathSingleValueFunction
org.eclipse.nebula.widgets.nattable.formula.function.SquareRootFunction
- All Implemented Interfaces:
FunctionValue
,OperatorFunctionValue
Returns the positive square root of a given number.
- Since:
- 1.4
-
Field Summary
Fields inherited from class org.eclipse.nebula.widgets.nattable.formula.function.AbstractFunction
values
-
Constructor Summary
ConstructorsConstructorDescriptionSquareRootFunction
(List<FunctionValue> values) SquareRootFunction
(FunctionValue value) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addFunctionValue
(FunctionValue value) Add the givenFunctionValue
for calculation.getValue()
toString()
Methods inherited from class org.eclipse.nebula.widgets.nattable.formula.function.AbstractMathSingleValueFunction
getSingleValue
Methods inherited from class org.eclipse.nebula.widgets.nattable.formula.function.AbstractMathFunction
convertValue, validateMethodParameter
Methods inherited from class org.eclipse.nebula.widgets.nattable.formula.function.AbstractFunction
isEmpty
-
Constructor Details
-
SquareRootFunction
public SquareRootFunction() -
SquareRootFunction
-
SquareRootFunction
-
-
Method Details
-
addFunctionValue
Description copied from interface:OperatorFunctionValue
Add the givenFunctionValue
for calculation.- Specified by:
addFunctionValue
in interfaceOperatorFunctionValue
- Overrides:
addFunctionValue
in classAbstractMathSingleValueFunction
- Parameters:
value
- The value to add.
-
getValue
- Returns:
- The value this
FunctionValue
carries or calculates based on its function.
-
toString
-