Method References

Neal Gafter neal at gafter.com
Thu Feb 25 23:40:59 PST 2010


On Thu, Feb 25, 2010 at 11:27 PM, Paulo Levi <i30817 at gmail.com> wrote:

> What about not "this" objects.
>

See CfJ <http://www.javac.info/closures-v06a.html> for my specific proposal,
under the section heading "Method References".  The part before # is an
arbitrary expression.

In fact would work on constructors or does it need the reference.
>

I don't think constructors are a frequent enough use case that explicit
support for them is needed as a language feature, but that could be done
too.


More information about the lambda-dev mailing list