collect


Description:

public Future<R> collect<R,A> (Collector<R,A,G> collector)

Performs a mutable reduction operation on the elements of this seq.

If the seq is in parallel mode and the collector is CONCURRENT, performs a concurrent reduction.

This is a terminal operation.

Parameters:

collector

the collector describing the reduction

Returns:

a future of the result of the reduction

See also:

Collector




2022 vala-language.org