Interface FunctionCalculatorImpl.Function

All Superinterfaces:
Serializable
All Known Implementing Classes:
FunctionCalculatorImpl.FixedFunction
Enclosing class:
FunctionCalculatorImpl
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface protected static interface FunctionCalculatorImpl.Function extends Serializable
Arbitrary function.
  • Method Summary

    Modifier and Type
    Method
    Description
    call(List<Number> arguments)
    Call the function.
  • Method Details

    • call

      Number call(List<Number> arguments) throws ParseException
      Call the function.
      Parameters:
      arguments - The function's arguments.
      Returns:
      The function's value.
      Throws:
      ParseException - In case the arguments are invalid.