()->{}
(List<String> ls)->ls.size()
(x,y)-> { return x + y; }
| Modifier and Type | Class and Description |
|---|---|
| public static enum | LambdaExpressionTree.
Lambda expressions come in two forms:
|
| Modifier and Type | Method and Description |
|---|---|
| public Tree | |
| public LambdaExpressionTree. | |
| public List |
| getBody | back to summary |
|---|---|
| public Tree getBody() Returns the body of the lambda expression.
| |
| getBodyKind | back to summary |
|---|---|
| public LambdaExpressionTree. Returns the kind of the body of the lambda expression.
| |
| getParameters | back to summary |
|---|---|
| public List Returns the parameters of this lambda expression.
| |
| Modifier and Type | Field and Description |
|---|---|
| public static final LambdaExpressionTree. | EXPRESSION
enum constant for expression lambdas |
| public static final LambdaExpressionTree. | STATEMENT
enum constant for statement lambdas |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static LambdaExpressionTree. | |
| public static LambdaExpressionTree. |
| EXPRESSION | back to summary |
|---|---|
| public static final LambdaExpressionTree. enum constant for expression lambdas | |
| STATEMENT | back to summary |
|---|---|
| public static final LambdaExpressionTree. enum constant for statement lambdas | |
| BodyKind | back to summary |
|---|---|
| private BodyKind() | |
| valueOf | back to summary |
|---|---|
| public static LambdaExpressionTree. | |
| values | back to summary |
|---|---|
| public static LambdaExpressionTree. | |