Substitute for groupingReduce ?

Michael Nascimento misterm at gmail.com
Wed Mar 20 12:24:47 PDT 2013


Hi guys,

I had this before:

Map<String, City> cityByName = cities.stream().collect(groupingReduce(
city -> city.getName(), throwingMerger()));

What is the proper replacement?

Regards,
Michael


More information about the lambda-dev mailing list