| Package | Description |
|---|---|
| java.util.stream |
Classes to support functional-style operations on streams of elements, such as map-reduce transformations on collections.
|
| Modifier and Type | Method and Description |
|---|---|
<R> R |
LongStream.collect(Supplier
Performs a
mutable reduction operation on the elements of this stream.
|