Collectors.intCountAndSum()

Aleksey Shipilev aleksey.shipilev at oracle.com
Wed Jan 9 14:07:37 PST 2013


On 01/10/2013 02:03 AM, Brian Goetz wrote:
> On the other hand, I'd like for IntCountAndSum to be a private
> implementation detail of average -- that Average would be a
> Collector<Integer,Double> rather than leaking IntCountAndSum.  Working
> on that now.

Great, thanks. Now, can we also have the Count and Sum collectors? Or
that clashes with primitive terminals?

-Aleksey.


More information about the lambda-dev mailing list