Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/util/stream/
DCollector.java245 Set<Characteristics> characteristics(); in characteristics()
267 Characteristics... characteristics) { in of()
272 Set<Characteristics> cs = (characteristics.length == 0) in of()
274 … : Collections.unmodifiableSet(EnumSet.of(Collector.Characteristics.IDENTITY_FINISH, in of()
299 Characteristics... characteristics) { in of()
305 Set<Characteristics> cs = Collectors.CH_NOID; in of()
307 cs = EnumSet.noneOf(Characteristics.class); in of()
318 enum Characteristics { enum
DCollectors.java108 static final Set<Collector.Characteristics> CH_CONCURRENT_ID
109 = Collections.unmodifiableSet(EnumSet.of(Collector.Characteristics.CONCURRENT,
110 Collector.Characteristics.UNORDERED,
111 Collector.Characteristics.IDENTITY_FINISH));
112 static final Set<Collector.Characteristics> CH_CONCURRENT_NOID
113 = Collections.unmodifiableSet(EnumSet.of(Collector.Characteristics.CONCURRENT,
114 Collector.Characteristics.UNORDERED));
115 static final Set<Collector.Characteristics> CH_ID
116 = Collections.unmodifiableSet(EnumSet.of(Collector.Characteristics.IDENTITY_FINISH));
117 static final Set<Collector.Characteristics> CH_UNORDERED_ID
[all …]
DReferencePipeline.java699 && (collector.characteristics().contains(Collector.Characteristics.CONCURRENT))
700 … && (!isOrdered() || collector.characteristics().contains(Collector.Characteristics.UNORDERED))) {
708 return collector.characteristics().contains(Collector.Characteristics.IDENTITY_FINISH)
DReduceOps.java185 return collector.characteristics().contains(Collector.Characteristics.UNORDERED)
/libcore/luni/src/test/java/libcore/java/util/stream/
DCollectorsTest.java80 Collector.Characteristics.UNORDERED); in collectorOf()
90 assertTrue(sqSumCollector.characteristics().contains(Collector.Characteristics.UNORDERED)); in collectorOf()
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/
DTabulatorsTest.java250 … boolean ordered = !collector.characteristics().contains(Collector.Characteristics.UNORDERED);
DCollectorsTest.java329 … boolean ordered = !collector.characteristics().contains(Collector.Characteristics.UNORDERED);
/libcore/ojluni/src/test/java/util/stream/Collectors/
DCollectorsTest.java311 … boolean ordered = !collector.characteristics().contains(Collector.Characteristics.UNORDERED);
/libcore/api/
Dcurrent.txt18177 method public java.util.Set<java.util.stream.Collector.Characteristics> characteristics();
18180 …onsumer<R,T>, java.util.function.BinaryOperator<R>, java.util.stream.Collector.Characteristics...);
18181 …inaryOperator<A>, java.util.function.Function<A,R>, java.util.stream.Collector.Characteristics...);
18185 public enum Collector.Characteristics {
18186 enum_constant public static final java.util.stream.Collector.Characteristics CONCURRENT;
18187 enum_constant public static final java.util.stream.Collector.Characteristics IDENTITY_FINISH;
18188 enum_constant public static final java.util.stream.Collector.Characteristics UNORDERED;