Home
last modified time | relevance | path

Searched refs:mergeFunction (Results 1 – 2 of 2) sorted by relevance

/libcore/ojluni/src/main/java/java/util/stream/
DCollectors.java430 BinaryOperator<M> mapMerger(BinaryOperator<V> mergeFunction) {
433 m1.merge(e.getKey(), e.getValue(), mergeFunction);
1579 BinaryOperator<U> mergeFunction) {
1580 return toMap(keyMapper, valueMapper, mergeFunction, HashMap::new);
1619 BinaryOperator<U> mergeFunction) {
1622 Objects.requireNonNull(mergeFunction, "mergeFunction");
1624 toMap(keyMapper, valueMapper, mergeFunction, HashMap::new),
1671 BinaryOperator<U> mergeFunction,
1675 valueMapper.apply(element), mergeFunction);
1676 return new CollectorImpl<>(mapFactory, accumulator, mapMerger(mergeFunction), CH_ID);
[all …]
/libcore/ojluni/annotations/flagged_api/java/util/stream/
DCollectors.annotated.java101 …uper T,? extends U> valueMapper, java.util.function.BinaryOperator<U> mergeFunction) { throw new R… in toMap() argument
103 …uper T,? extends U> valueMapper, java.util.function.BinaryOperator<U> mergeFunction) { throw new R… in toUnmodifiableMap() argument
105 …uper T,? extends U> valueMapper, java.util.function.BinaryOperator<U> mergeFunction, java.util.fun… in toMap() argument
109 …uper T,? extends U> valueMapper, java.util.function.BinaryOperator<U> mergeFunction) { throw new R… in toConcurrentMap() argument
111 …uper T,? extends U> valueMapper, java.util.function.BinaryOperator<U> mergeFunction, java.util.fun… in toConcurrentMap() argument