Home
last modified time | relevance | path

Searched refs:toMap (Results 1 – 9 of 9) sorted by relevance

/libcore/ojluni/src/test/java/util/HashMap/
DWhiteBoxResizeTest.java40 import static java.util.stream.Collectors.toMap;
114 map.putAll(IntStream.range(0, 64).boxed().collect(toMap(i -> i, i -> i))); in capacityTestDefaultConstructor()
/libcore/tools/openjdk-analyzer/src/libcore/tools/analyzer/openjdk/
DMain.java20 import static java.util.stream.Collectors.toMap;
163 .collect(toMap(DiffAnalyzer::toApiSignature, node -> node)); in analyze()
165 .collect(toMap(DiffAnalyzer::toApiSignature, node -> node)); in analyze()
182 .collect(toMap(node -> node.name, node -> node)); in analyze()
184 .collect(toMap(node -> node.name, node -> node)); in analyze()
DDependencyAnalyzer.java19 import static java.util.stream.Collectors.toMap;
426 .collect(toMap(e -> e.dstPath, e -> e)); in ExpectedUpstreamFilters()
/libcore/ojluni/src/main/java/java/util/stream/
DCollectors.java1473 Collector<T, ?, Map<K,U>> toMap(Function<? super T, ? extends K> keyMapper,
1516 toMap(keyMapper, valueMapper),
1577 Collector<T, ?, Map<K,U>> toMap(Function<? super T, ? extends K> keyMapper,
1580 return toMap(keyMapper, valueMapper, mergeFunction, HashMap::new);
1624 toMap(keyMapper, valueMapper, mergeFunction, HashMap::new),
1669 Collector<T, ?, M> toMap(Function<? super T, ? extends K> keyMapper,
/libcore/ojluni/annotations/flagged_api/java/util/stream/
DCollectors.annotated.java97 public static <T, K, U> java.util.stream.Collector<T,?,java.util.Map<K,U>> toMap(java.util.function… in toMap() method in Collectors
101 public static <T, K, U> java.util.stream.Collector<T,?,java.util.Map<K,U>> toMap(java.util.function… in toMap() method in Collectors
105 public static <T, K, U, M extends java.util.Map<K, U>> java.util.stream.Collector<T,?,M> toMap(java… in toMap() method in Collectors
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/
DTabulatorsTest.java61 import static java.util.stream.Collectors.toMap;
410 exerciseMapTabulation(data, toMap(keyFn, valueFn),
420 exerciseMapTabulation(data, toMap(keyFn, valueFn, op),
423 exerciseMapTabulation(data, toMap(keyFn, valueFn, op, TreeMap::new),
DCollectorsTest.java70 import static java.util.stream.Collectors.toMap;
489 exerciseMapCollection(data, toMap(keyFn, valueFn),
499 exerciseMapCollection(data, toMap(keyFn, valueFn, op),
502 exerciseMapCollection(data, toMap(keyFn, valueFn, op, TreeMap::new),
/libcore/ojluni/src/test/java/util/stream/Collectors/
DCollectorsTest.java68 import static java.util.stream.Collectors.toMap;
471 exerciseMapCollection(data, toMap(keyFn, valueFn),
481 exerciseMapCollection(data, toMap(keyFn, valueFn, op),
484 exerciseMapCollection(data, toMap(keyFn, valueFn, op, TreeMap::new),
/libcore/api/
Dcurrent.txt18228 …method public static <T, K, U> java.util.stream.Collector<T,?,java.util.Map<K,U>> toMap(java.util.…
18229 …method public static <T, K, U> java.util.stream.Collector<T,?,java.util.Map<K,U>> toMap(java.util.…
18230 …T, K, U, M extends java.util.Map<K, U>> java.util.stream.Collector<T,?,M> toMap(java.util.function…