Some simple tests to satisfy my curiosity about what happens behind the scenes when you use lambdas.
Additionaly, you can use javap
to see the code it generates: javap -l -v -p -c $YOUR_BUILD_DIR/com/foo/LambdaTests.class
.
There are also some tests to understand Lambdas vs Closures and how it compare to other languages: