Encapsulates a parameterized {@link ValueExpression}.
A LambdaExpression is a representation of the EL Lambda expression syntax. It consists of a list of the formal parameters and a body, represented by a {@link ValueExpression}. The body can be any valid Expression, including another LambdaExpression.
LambdaExpression is created when an EL expression containing a Lambda expression is evaluated. A LambdaExpression can be invoked by calling {@link LambdaExpression#invoke}, with an {@link javax.el.ELContext} and a list of the actual arguments.Alternately, a LambdaExpression can be invoked without passing a ELContext, in which case the ELContext previously set by calling {@link LambdaExpression#setELContext} will be used.The evaluation of the ValueExpression in the body uses the {@link ELContext} to resolve references to the parameters, and to evaluatethe lambda expression. The result of the evaluation is returned.
| |