Home
last modified time | relevance | path

Searched refs:toCollection (Results 1 – 8 of 8) sorted by relevance

/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/
DWhileOpStatefulTest.java43 import static java.util.stream.Collectors.toCollection;
271 .collect(toCollection(LinkedList::new)) in testDropWhileMulti()
275 .collect(toCollection(LinkedList::new)) in testDropWhileMulti()
DTabulatorsTest.java58 import static java.util.stream.Collectors.toCollection;
460 groupingBy(classifier, TreeMap::new, toCollection(HashSet::new)),
465 toCollection(HashSet::new)),
502 …ingBy(classifier, TreeMap::new, groupingBy(classifier2, TreeMap::new, toCollection(HashSet::new))),
DCollectorsTest.java67 import static java.util.stream.Collectors.toCollection;
539 groupingBy(classifier, TreeMap::new, toCollection(HashSet::new)),
544 toCollection(HashSet::new)),
656 …ingBy(classifier, TreeMap::new, groupingBy(classifier2, TreeMap::new, toCollection(HashSet::new))),
/libcore/ojluni/src/test/java/math/BigInteger/
DPrimeTest.java43 import static java.util.stream.Collectors.toCollection;
108 .collect(toCollection(TreeSet::new)); in getPrimes()
/libcore/ojluni/src/test/java/util/stream/Collectors/
DCollectorsTest.java65 import static java.util.stream.Collectors.toCollection;
521 groupingBy(classifier, TreeMap::new, toCollection(HashSet::new)),
526 toCollection(HashSet::new)),
639 …ingBy(classifier, TreeMap::new, groupingBy(classifier2, TreeMap::new, toCollection(HashSet::new))),
/libcore/ojluni/annotations/flagged_api/java/util/stream/
DCollectors.annotated.java33 public static <T, C extends java.util.Collection<T>> java.util.stream.Collector<T,?,C> toCollection in toCollection() method in Collectors
/libcore/ojluni/src/main/java/java/util/stream/
DCollectors.java262 Collector<T, ?, C> toCollection(Supplier<C> collectionFactory) {
/libcore/api/
Dcurrent.txt18223 … C extends java.util.Collection<T>> java.util.stream.Collector<T,?,C> toCollection(java.util.funct…