Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/util/stream/
DCollector.java241 Set<Characteristics> characteristics(); in characteristics()
263 Characteristics... characteristics) { in of()
268 Set<Characteristics> cs = (characteristics.length == 0) in of()
270 … : Collections.unmodifiableSet(EnumSet.of(Collector.Characteristics.IDENTITY_FINISH, in of()
295 Characteristics... characteristics) { in of()
301 Set<Characteristics> cs = Collectors.CH_NOID; in of()
303 cs = EnumSet.noneOf(Characteristics.class); in of()
314 enum Characteristics { enum
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 …]
DReferencePipeline.java510 && (collector.characteristics().contains(Collector.Characteristics.CONCURRENT))
511 … && (!isOrdered() || collector.characteristics().contains(Collector.Characteristics.UNORDERED))) {
519 return collector.characteristics().contains(Collector.Characteristics.IDENTITY_FINISH)
DReduceOps.java185 return collector.characteristics().contains(Collector.Characteristics.UNORDERED)
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/
DTabulatorsTest.java250 … boolean ordered = !collector.characteristics().contains(Collector.Characteristics.UNORDERED);