Performs a mutable reduction operation on the elements of this seq.
This operation preserves encounter order even though the seq is in parallel mode, if the collector is not CONCURRENT or not UNORDERED. If the seq is in parallel mode and the collector is CONCURRENT and UNORDERED, performs an unordered concurrent reduction.
This is a terminal operation.
collector |
the collector describing the reduction |
a future of the result of the reduction |