Class AbstractFunction
- java.lang.Object
-
- org.eclipse.nebula.widgets.nattable.formula.function.AbstractFunction
-
- All Implemented Interfaces:
FunctionValue
,OperatorFunctionValue
- Direct Known Subclasses:
AbstractMathFunction
,AbstractSingleValueFunction
public abstract class AbstractFunction extends Object implements FunctionValue, OperatorFunctionValue
Subclasses are intended to process values that are set to it.- Since:
- 1.4
-
-
Field Summary
Fields Modifier and Type Field Description protected List<FunctionValue>
values
-
Constructor Summary
Constructors Constructor Description AbstractFunction()
AbstractFunction(List<FunctionValue> values)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addFunctionValue(FunctionValue value)
Add the givenFunctionValue
for calculation.boolean
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
-
-
-
-
Field Detail
-
values
protected List<FunctionValue> values
-
-
Constructor Detail
-
AbstractFunction
public AbstractFunction()
-
AbstractFunction
public AbstractFunction(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
- Parameters:
value
- The value to add.
-
isEmpty
public boolean isEmpty()
- Returns:
true
if no values to process are added to this function,false
otherwise.
-
-