| Package | Description |
|---|---|
| com.annimon.stream | |
| com.annimon.stream.function |
| Modifier and Type | Method and Description |
|---|---|
static <T,R> Collector<T,?,R> |
Collectors.reducing(R identity,
Function<? super T,? extends R> mapper,
BinaryOperator<R> op)
Returns a
Collector that reduces input elements. |
static <T> Collector<T,?,T> |
Collectors.reducing(T identity,
BinaryOperator<T> op)
Returns a
Collector that reduces input elements. |
| Modifier and Type | Method and Description |
|---|---|
static <T> BinaryOperator<T> |
BinaryOperator.Util.maxBy(Comparator<? super T> comparator)
Returns a
BinaryOperator which returns greater of two elements
according to the specified Comparator. |
static <T> BinaryOperator<T> |
BinaryOperator.Util.minBy(Comparator<? super T> comparator)
Returns a
BinaryOperator which returns lesser of two elements
according to the specified Comparator. |
Copyright © 2017. All rights reserved.