Class AbstractMathSingleValueFunction
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
- All Implemented Interfaces:
FunctionValue,OperatorFunctionValue
- Direct Known Subclasses:
NegateFunction,SquareRootFunction
Specialized
AbstractMathFunction that only allows a single value for
processing.- Since:
- 1.4
-
Field Summary
Fields inherited from class org.eclipse.nebula.widgets.nattable.formula.function.AbstractFunction
values -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionvoidaddFunctionValue(FunctionValue value) Add the givenFunctionValuefor calculation.protected FunctionValueMethods inherited from class org.eclipse.nebula.widgets.nattable.formula.function.AbstractMathFunction
convertValue, validateMethodParameterMethods inherited from class org.eclipse.nebula.widgets.nattable.formula.function.AbstractFunction
isEmptyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.nebula.widgets.nattable.formula.function.FunctionValue
getValue
-
Constructor Details
-
AbstractMathSingleValueFunction
public AbstractMathSingleValueFunction() -
AbstractMathSingleValueFunction
-
AbstractMathSingleValueFunction
-
-
Method Details
-
addFunctionValue
Description copied from interface:OperatorFunctionValueAdd the givenFunctionValuefor calculation.- Specified by:
addFunctionValuein interfaceOperatorFunctionValue- Overrides:
addFunctionValuein classAbstractMathFunction- Parameters:
value- The value to add.
-
getSingleValue
- Returns:
- The single value that is contained in this function.
-