| Package | Description |
|---|---|
| com.annimon.stream |
| Modifier and Type | Method and Description |
|---|---|
static <T> Collector<T,?,Double> |
Collectors.averagingLong(ToLongFunction<? super T> mapper)
Returns a
Collector that calculates average of long-valued input elements. |
LongStream |
Stream.mapToLong(ToLongFunction<? super T> mapper)
Returns
LongStream with elements that obtained by applying the given function. |
OptionalLong |
Optional.mapToLong(ToLongFunction<? super T> mapper)
Invokes mapping function on inner value if present.
|
static <T> Collector<T,?,Long> |
Collectors.summingLong(ToLongFunction<? super T> mapper)
Returns a
Collector that summing long-valued input elements. |
Copyright © 2017. All rights reserved.