Updated State of the Lambda
Yuval Shavit
yshavit at akiban.com
Fri Dec 9 10:44:54 PST 2011
By the way -- and I apologize if this has already been covered, I did some
searching and nothing came up -- is there any thought as to whether methods
will ever be able to declare lambdas as arguments? Something like:
public <T> void myFilter(Iterable<? extends T>, (? super T -> boolean)
predicate ) { ... }
This function could then take either a lambda of the same type, or any
reference typed as a functional interface which could be expressed as a
corresponding lambda.
Thanks,
Yuval
On Fri, Dec 9, 2011 at 1:28 PM, Brian Goetz <brian.goetz at oracle.com> wrote:
> An updated State of the Lambda is available here:
>
> http://cr.openjdk.java.net/~briangoetz/lambda/lambda-state-4.html
>
>
>
More information about the lambda-dev
mailing list