fold


Description:


public Collector<A,Object,G> fold<A,G> (owned FoldFunc<A,G> accumulator, owned CombineFunc<A> combiner, A identity)

Returns a collector that performs a reduction operation on the elements.

Parameters:

accumulator

an accumulate function

combiner

a combine function

identity

an identity value

Returns:

the collector implementation

See also:

Seq.fold


Namespace: Gpseq.Collectors
Package: gpseq-1.0