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 TypeMethodDescriptionvoidaddFunctionValue(FunctionValue value) Add the givenFunctionValuefor calculation.getValue()toString()Methods inherited from class org.eclipse.nebula.widgets.nattable.formula.function.AbstractMathSingleValueFunction
getSingleValueMethods inherited from class org.eclipse.nebula.widgets.nattable.formula.function.AbstractMathFunction
convertValue, validateMethodParameterMethods 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:OperatorFunctionValueAdd the givenFunctionValuefor calculation.- Specified by:
addFunctionValuein interfaceOperatorFunctionValue- Overrides:
addFunctionValuein classAbstractMathSingleValueFunction- Parameters:
value- The value to add.
-
getValue
- Returns:
- The value this
FunctionValuecarries or calculates based on its function.
-
toString
-