Yet another run at reduce (original) (raw)
Tim Peierls tim at peierls.net
Tue Jan 8 08:37:56 PST 2013
- Previous message: Yet another run at reduce
- Next message: Yet another run at reduce
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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 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
- Previous message: Yet another run at reduce
- Next message: Yet another run at reduce
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the lambda-libs-spec-observers mailing list