Java / Java8 streams
What are reduction operations?
Reduction operations are terminal operations such as average, sum, min, max, and count that return one value by combining the contents of a stream. There are 2 general-purpose reduction operations, Stream.reduce and Stream.collect.
More Related questions...