IFunction

An interface for expression functions.

Description

The IFunction is an interface for expression functions.

Instance methods

setName

Function’s name.

void setName(String value)

  • value: String - function’s name.

getName

Function’s name.

String getName()

  • value: String - function’s name.

calculate

Function calculation method.

Variant](../../../variants/variant) calculate(List<Variant[]> params, IVariantOperations variantOperations) throws ExpressionException

  • params: Variant[] - array with function parameters.
  • variantOperations: IVariantOperations - variants operations manager.
  • returns: Variant - returned function’s result.