Round 2 feedback
brian.goetz at oracle.com
Wed Feb 13 08:06:11 PST 2013
>> Map<String, Long> totalByCityForEveryCity =
>> cities.stream().collectUnordered(joiningWith(city ->
> This is similar in effect to a "left outer join" in SQL. There are lots
> of good reasons to be able to do this, so that data is regular, and
> algorithms are plagued with missing data checks. Being able to provide
> the default value, instead of "nul" is very nice.
In which case a more appropriate place to put this support is in the
joiningWith Collector, not Map.
More information about the lambda-dev