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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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 Details
-
values
-
-
Constructor Details
-
AbstractFunction
public AbstractFunction() -
AbstractFunction
-
-
Method Details
-
addFunctionValue
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.
-