Yet another run at reduce
Tim Peierls
tim at peierls.net
Tue Jan 8 08:37:56 PST 2013
On Tue, Jan 8, 2013 at 11:18 AM, Brian Goetz <brian.goetz at oracle.com> wrote:
> Where intoCollection is a simple Reducer:
>
> Reducer<T,C> intoCollection(Supplier<C> collectionFactory) {
> return leftCombiningReducer(**collectionFactory, Collection::add,
> Collection::addAll);
> }
>
And leftCombiningReducer builds a reducer out of its arguments, which
correspond to makeResult, accumulate, and combine?
--tim
More information about the lambda-libs-spec-observers
mailing list