Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on "..best direction for evolving Java is to encourage a more functional style". Parent comment
As to your second question, yes, you can cast a lambda to explicitly specify it's target SAM type:
obj.method((Runnable)(()=> println("oh hai !")));
There are no comments on this comment yet.
As to your second question, yes, you can cast a lambda to explicitly specify it's target SAM type: