Class AbstractSingleValueFunction
- java.lang.Object
-
- org.eclipse.nebula.widgets.nattable.formula.function.AbstractFunction
-
- org.eclipse.nebula.widgets.nattable.formula.function.AbstractSingleValueFunction
-
- All Implemented Interfaces:
FunctionValue
,OperatorFunctionValue
public abstract class AbstractSingleValueFunction extends AbstractFunction
SpecializedAbstractFunction
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
Constructors Constructor Description AbstractSingleValueFunction()
AbstractSingleValueFunction(List<FunctionValue> values)
AbstractSingleValueFunction(FunctionValue value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addFunctionValue(FunctionValue value)
Add the givenFunctionValue
for calculation.protected FunctionValue
getSingleValue()
-
Methods inherited from class org.eclipse.nebula.widgets.nattable.formula.function.AbstractFunction
isEmpty
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.eclipse.nebula.widgets.nattable.formula.function.FunctionValue
getValue
-
-
-
-
Constructor Detail
-
AbstractSingleValueFunction
public AbstractSingleValueFunction()
-
AbstractSingleValueFunction
public AbstractSingleValueFunction(FunctionValue value)
-
AbstractSingleValueFunction
public AbstractSingleValueFunction(List<FunctionValue> values)
-
-
Method Detail
-
addFunctionValue
public void addFunctionValue(FunctionValue value)
Description copied from interface:OperatorFunctionValue
Add the givenFunctionValue
for calculation.- Specified by:
addFunctionValue
in interfaceOperatorFunctionValue
- Overrides:
addFunctionValue
in classAbstractFunction
- Parameters:
value
- The value to add.
-
getSingleValue
protected FunctionValue getSingleValue()
- Returns:
- The single value that is contained in this function.
-
-