Class FunctionExpression

  • All Implemented Interfaces:
    Expression<Function>

    public final class FunctionExpression
    extends ConstantExpression<Function>
    Expression wrapper for functions, to be used when functions are used as arguments (Expressions) of higher-order functions (any-of, all-of, etc.). This is a simple wrapper since it evaluates to a constant which is the Function (with an ID) itself.
    Version:
    $Id: $
    • Constructor Detail

      • FunctionExpression

        public FunctionExpression​(Function<?> f)
        Creates instance
        Parameters:
        f - function