Home
last modified time | relevance | path

Searched refs:Collector (Results 1 – 13 of 13) sorted by relevance

/libcore/ojluni/src/main/java/java/util/stream/
DCollectors.java106 static final Set<Collector.Characteristics> CH_CONCURRENT_ID
107 = Collections.unmodifiableSet(EnumSet.of(Collector.Characteristics.CONCURRENT,
108 Collector.Characteristics.UNORDERED,
109 Collector.Characteristics.IDENTITY_FINISH));
110 static final Set<Collector.Characteristics> CH_CONCURRENT_NOID
111 = Collections.unmodifiableSet(EnumSet.of(Collector.Characteristics.CONCURRENT,
112 Collector.Characteristics.UNORDERED));
113 static final Set<Collector.Characteristics> CH_ID
114 = Collections.unmodifiableSet(EnumSet.of(Collector.Characteristics.IDENTITY_FINISH));
115 static final Set<Collector.Characteristics> CH_UNORDERED_ID
[all …]
DCollector.java197 public interface Collector<T, A, R> { interface
260 public static<T, R> Collector<T, R, R> of(Supplier<R> supplier, in of()
270 … : Collections.unmodifiableSet(EnumSet.of(Collector.Characteristics.IDENTITY_FINISH, in of()
291 public static<T, A, R> Collector<T, A, R> of(Supplier<A> supplier, in of()
DReferencePipeline.java507 public final <R, A> R collect(Collector<? super P_OUT, A, R> collector) {
510 && (collector.characteristics().contains(Collector.Characteristics.CONCURRENT))
511 … && (!isOrdered() || collector.characteristics().contains(Collector.Characteristics.UNORDERED))) {
519 return collector.characteristics().contains(Collector.Characteristics.IDENTITY_FINISH)
DStream.java807 <R, A> R collect(Collector<? super T, A, R> collector); in collect()
DReduceOps.java156 makeRef(Collector<? super T, I, ?> collector) {
185 return collector.characteristics().contains(Collector.Characteristics.UNORDERED)
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/
DGroupByOpTest.java39 import java.util.stream.Collector;
63 Collector<Integer, Map<Boolean, List<Integer>>, Map<Boolean, List<Integer>>> collector in testBypassCollect()
64 …= (Collector<Integer, Map<Boolean, List<Integer>>, Map<Boolean, List<Integer>>>) Collectors.groupi… in testBypassCollect()
134 Collector<Integer, ?, Map<Object, List<Integer>>> tab = Collectors.groupingBy(md.m); in testOps()
DTabulatorsTest.java47 import java.util.stream.Collector;
247 Collector<T, ?, ? extends M> collector,
250 … boolean ordered = !collector.characteristics().contains(Collector.Characteristics.UNORDERED);
281 Collector<T, ?, R> collector,
321 Collector<Integer, long[], Double> avg2xint = Collector.of(() -> new long[2],
343Collector<String, StringBuilder, String> likeJoining = Collector.of(StringBuilder::new, StringBuil…
/libcore/ojluni/src/main/java/java/util/
DIntSummaryStatistics.java28 import java.util.stream.Collector;
DLongSummaryStatistics.java29 import java.util.stream.Collector;
DDoubleSummaryStatistics.java28 import java.util.stream.Collector;
/libcore/ojluni/src/main/java/java/lang/invoke/
DMethodHandle.java1134 return new Transformers.Collector(this, arrayType, arrayLength); in asCollector()
DTransformers.java1305 static class Collector extends Transformer { class in Transformers
1331 Collector(MethodHandle delegate, Class<?> arrayType, int length) { in Collector() method in Transformers.Collector
/libcore/
Dopenjdk_java_files.bp1070 "ojluni/src/main/java/java/util/stream/Collector.java",