collect
Description:
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 |