Interface ELLambdaBody.Binary

All Superinterfaces:
ELLambdaBody
Enclosing interface:
ELLambdaBody
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface ELLambdaBody.Binary extends ELLambdaBody
The body of a lambda expression with two parameters.
Since:
1.0
Author:
Denis Stepanov
  • Method Details

    • evaluate

      @Nullable Object evaluate(jakarta.el.ELContext context, @Nullable Object first, @Nullable Object second)
      Parameters:
      context - The context
      first - The first argument
      second - The second argument
      Returns:
      The result of the evaluation
    • evaluate

      default @Nullable Object evaluate(jakarta.el.ELContext context, @Nullable Object[] arguments)
      Description copied from interface: ELLambdaBody
      Evaluates the body of the lambda expression.
      Specified by:
      evaluate in interface ELLambdaBody
      Parameters:
      context - The context the lambda expression is invoked with
      arguments - The arguments, at least as many as the lambda expression declares parameters
      Returns:
      The result of the evaluation