Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/util/stream/
DCollectors.java147 static class CollectorImpl<T, A, R> implements Collector<T, A, R> { class
154 CollectorImpl(Supplier<A> supplier, in CollectorImpl() method in CollectorImpl
166 CollectorImpl(Supplier<A> supplier, in CollectorImpl() method in CollectorImpl
213 return new CollectorImpl<>(collectionFactory, Collection<T>::add, in toCollection()
230 return new CollectorImpl<>((Supplier<List<T>>) ArrayList::new, List::add,
251 return new CollectorImpl<>((Supplier<Set<T>>) HashSet::new, Set::add,
264 return new CollectorImpl<CharSequence, StringBuilder, String>(
298 return new CollectorImpl<>(
354 return new CollectorImpl<>(downstream.supplier(),
390 return new CollectorImpl<>(downstream.supplier(),
[all …]
DCollector.java272 return new Collectors.CollectorImpl<>(supplier, accumulator, combiner, cs); in of()
307 return new Collectors.CollectorImpl<>(supplier, accumulator, combiner, finisher, cs); in of()