collectFrom<A, R> abstract method
Performs a mutable reduction operation on the elements of this stream using a Collector.
Example
final joined = GenericStream.of(['a', 'b', 'c'])
.collect(Collectors.joining(', '));
Implementation
R collectFrom<A, R>(Collector<T, A, R> collector);