Building Lambda and a Closure Question

Brian Goetz brian.goetz at oracle.com
Sun Nov 20 10:34:45 PST 2011


> BTW, your lambda could be simpler as you can use expression form for this case:
>
> final C c = () ->  { "Hello World" };

Without the braces :)

final C c = () ->  "Hello World";


More information about the lambda-dev mailing list