lambda expression
Code like x -> x * 2 that implements a functional interface's one method in place.
parameters -> expression or block; parameter and return types come from the target functional interface type, which must be known from context.
Examples
s -> s.length() > 3and(a, b) -> a + b.
See also