Class FirstOrderFunction<RETURN extends Value>

    • Constructor Detail

      • FirstOrderFunction

        protected FirstOrderFunction​(String name)
    • Method Detail

      • getParameterTypes

        public abstract List<? extends Datatype<?>> getParameterTypes()
        Get parameter types
        Returns:
        parameter types
      • newCall

        public final FunctionCall<RETURN> newCall​(List<Expression<?>> argExpressions)
                                           throws IllegalArgumentException
        Description copied from interface: Function
        Creates new function call with given arguments (Expressions). Any implementation of this method should first validate inputs according to the function signature/definition.
        Parameters:
        argExpressions - function arguments (expressions)
        Returns:
        Function call handle for calling this function which such inputs (with possible changes from original inputs due to optimizations for instance)
        Throws:
        IllegalArgumentException - if inputs are invalid for this function