Calling Stream.map with a method reference returning an int

Maurizio Cimadamore maurizio.cimadamore at oracle.com
Tue Jan 29 08:14:20 PST 2013


On 29/01/13 13:33, Maurizio Cimadamore wrote:
> On 29/01/13 13:10, Eirik Bjørsnøs wrote:
>> long sum = list.stream().map(Person::getAge).sum();
> It looks like a problem with most specific and method references - I
> will take a look
>
> Maurizio
>
This is fixed now.

Maurizio


More information about the lambda-dev mailing list