Interface ELLambdaBody.Nullary

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.Nullary extends ELLambdaBody
The body of a lambda expression without parameters.
Since:
1.0
Author:
Denis Stepanov
  • Method Details

    • evaluate

      @Nullable Object evaluate(jakarta.el.ELContext context)
      Parameters:
      context - The context
      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