Class NegateFunction
- 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.NegateFunction
-
- All Implemented Interfaces:
FunctionValue
,OperatorFunctionValue
public class NegateFunction extends AbstractMathSingleValueFunction
Negates the given value.- Since:
- 1.4
-
-
Field Summary
-
Fields inherited from class org.eclipse.nebula.widgets.nattable.formula.function.AbstractFunction
values
-
-
Constructor Summary
Constructors Constructor Description NegateFunction()
NegateFunction(List<FunctionValue> values)
NegateFunction(FunctionValue value)
-
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.AbstractMathSingleValueFunction
addFunctionValue, 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 Detail
-
NegateFunction
public NegateFunction()
-
NegateFunction
public NegateFunction(FunctionValue value)
-
NegateFunction
public NegateFunction(List<FunctionValue> values)
-
-
Method Detail
-
getValue
public BigDecimal getValue()
- Returns:
- The value this
FunctionValue
carries or calculates based on its function.
-
-