Calling Stream.map with a method reference returning an int
Maurizio Cimadamore
maurizio.cimadamore at oracle.com
Tue Jan 29 05:33:25 PST 2013
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
More information about the lambda-dev
mailing list