Class LambdaExpression

java.lang.Object

public class LambdaExpression extends Expression
Lambda expression AST node type (added in JLS8 API).
 LambdaExpression:
    Identifier -> Body
    ( [ Identifier { , Identifier } ] ) -> Body
    ( [ FormalParameter { , FormalParameter } ] ) -> Body
 

The first two forms use VariableDeclarationFragment for the parameter or parameters, while the third form uses SingleVariableDeclaration.

The Body can be either a Block or an Expression.

Since:
3.10