| Package | Description |
|---|---|
| java.util |
Contains the collections framework, legacy collection classes, event model, date and time facilities, internationalization, and miscellaneous utility classes (a string tokenizer, a random-number generator, and a bit array).
|
| 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 |
|---|---|
void |
LongSummaryStatistics.combine(LongSummaryStatistics
Combines the state of another
LongSummaryStatistics into this one.
|
| Modifier and Type | Method and Description |
|---|---|
LongSummaryStatistics |
LongStream.summaryStatistics()
Returns a
LongSummaryStatistics describing various summary data about the elements of this stream.
|
| Modifier and Type | Method and Description |
|---|---|
static <T> Collector |
Collectors.summarizingLong(ToLongFunction
Returns a
Collector which applies an
long-producing mapping function to each input element, and returns summary statistics for the resulting values.
|