Updated State of the Lambda

Brian Goetz brian.goetz at oracle.com
Sat Oct 16 15:56:11 PDT 2010


Yes. Once imported, method names are recognized equally whether used  
in a call or a reference capture.

Sent from my iPhone

On Oct 16, 2010, at 3:15 PM, John Nilsson <john at milsson.nu> wrote:

> Will method references work with static imports?
>
> import static Person.compareByAge;
> ...
> Arrays.sort(people, #compareByAge);
>
> BR,
> John


More information about the lambda-dev mailing list