Method references with types [Re: lambda syntax tutorial]

Brian Goetz brian.goetz at oracle.com
Thu Aug 5 19:17:47 PDT 2010


Why?

On 8/5/2010 9:54 PM, John Nilsson wrote:
> On Fri, Aug 6, 2010 at 12:59 AM, Stephen Colebourne
> <scolebourne at joda.org>  wrote:
>> The complete set of conversions would be:
>> [...]
>
> How about expressions?
>
> #String.length() + 2
>
> #A.getB().getC()
>
> and even partiall application?
>
> #A.getB(2).getC()
>
> #A.getB(Integer).getC()
>
> BR,
> John
>


More information about the lambda-dev mailing list