map


Description:


public Collector<R,Object,G> map<R,A,G> (owned MapFunc<A,G> mapper, Collector<R,Object,A> downstream)

Returns a collector that applies the given mapper function to the elements, and performs a reduction operation on the results using the downstream collector.

Parameters:

mapper

a mapper function

downstream

a downstream collector

Returns:

the collector implementation


Namespace: Gpseq.Collectors
Package: gpseq-1.0