Class DelegatedFunction
java.lang.Object
org.pipservices3.expressions.calculator.functions.DelegatedFunction
- All Implemented Interfaces:
IFunction
-
Constructor Summary
ConstructorsConstructorDescriptionDelegatedFunction
(String name, FunctionCalculator calculator) Constructs this function class with specified parameters. -
Method Summary
-
Constructor Details
-
DelegatedFunction
Constructs this function class with specified parameters.- Parameters:
name
- The name of this function.calculator
- The function calculator delegate.
-
-
Method Details
-
setName
The function name. Can't set. -
getName
The function name. -
calculate
public Variant calculate(List<Variant> params, IVariantOperations variantOperations) throws ExpressionException The function calculation method.- Specified by:
calculate
in interfaceIFunction
- Parameters:
params
- an array with function parameters.variantOperations
- Variants operations manager.- Returns:
- the function result.
- Throws:
ExpressionException
-