wrap


Description:


public Collector<Wrapper<A>,Object,G> wrap<A,G> (Collector<A,Object,G> collector)

Returns a collector wrapping the given collector. The returned collector will produce a wrapper object containing the result of the given collector.

Parameters:

collector

a collector

Returns:

the collector implementation


Namespace: Gpseq.Collectors
Package: gpseq-1.0