Invoke the encapsulated Lambda expression.
The supplied arguments are matched, in the same order, to the formal parameters. If there are more arguments than the formal parameters, the extra arguments are ignored. If there are less arguments than the formal parameters, an ELException
is thrown.
The actual Lambda arguments are added to the ELContext and are available during the evaluation of the Lambda expression. They are removed after the evaluation.
@param elContext The ELContext used for the evaluation of the expressionThe ELContext set by {@link #setELContext} is ignored.
@param args The arguments to invoke the Lambda expression. For calls withno arguments, an empty array must be provided. A Lambda argument can be
null
.
@return The result of invoking the Lambda expression
@throws ELException if not enough arguments are provided
@throws NullPointerException is elContext is null