Package | Description |
---|---|
com.annimon.stream |
Modifier and Type | Method and Description |
---|---|
static <T> Collector<T,?,java.lang.Double> |
Fn.averagingInt(ToIntFunction<? super T> mapper) |
static <T> Collector<T,?,java.lang.Double> |
Collectors.averagingInt(ToIntFunction<? super T> mapper)
Returns a
Collector that calculates average of integer-valued input elements. |
static <T> java.util.Comparator<T> |
Comparators.comparingInt(ToIntFunction<? super T> keyExtractor) |
IntStream |
Stream.mapToInt(ToIntFunction<? super T> mapper)
Returns
IntStream with elements that obtained by applying the given function. |
static <T> Collector<T,?,java.lang.Integer> |
Fn.summingInt(ToIntFunction<? super T> mapper) |
static <T> Collector<T,?,java.lang.Integer> |
Collectors.summingInt(ToIntFunction<? super T> mapper)
Returns a
Collector that summing integer-valued input elements. |