| Package | Description |
|---|---|
| com.annimon.stream |
| Modifier and Type | Method and Description |
|---|---|
static <T> Collector<T,?,Double> |
Collectors.averagingDouble(ToDoubleFunction<? super T> mapper)
Returns a
Collector that calculates average of double-valued input elements. |
DoubleStream |
Stream.mapToDouble(ToDoubleFunction<? super T> mapper)
Returns
DoubleStream with elements that obtained by applying the given function. |
OptionalDouble |
Optional.mapToDouble(ToDoubleFunction<? super T> mapper)
Invokes mapping function on inner value if present.
|
static <T> Collector<T,?,Double> |
Collectors.summingDouble(ToDoubleFunction<? super T> mapper)
Returns a
Collector that summing double-valued input elements. |
Copyright © 2017. All rights reserved.