/libcore/ojluni/src/test/java/util/stream/boottest/java/util/stream/ |
D | StreamOpFlagsTest.java | 184 assertTrue(StreamOpFlag.SORTED.isKnown(opsFlags)); in testApplySourceFlags() 185 assertFalse(StreamOpFlag.SORTED.isCleared(opsFlags)); in testApplySourceFlags() 186 assertFalse(StreamOpFlag.SORTED.isPreserved(opsFlags)); in testApplySourceFlags() 194 assertTrue(StreamOpFlag.SORTED.isKnown(streamFlags)); in testApplySourceFlags() 202 assertSpliteratorMask(StreamOpFlag.SORTED.set(), StreamOpFlag.IS_SORTED); in testSpliteratorMask() 203 assertSpliteratorMask(StreamOpFlag.SORTED.clear(), 0); in testSpliteratorMask() 223 assertStreamMask(StreamOpFlag.SORTED.set(), StreamOpFlag.IS_SORTED); in testStreamMask() 224 assertStreamMask(StreamOpFlag.SORTED.clear(), 0); in testStreamMask() 244 assertOpMask(StreamOpFlag.SORTED.set(), StreamOpFlag.IS_SORTED); in testOpMask() 245 assertOpMask(StreamOpFlag.SORTED.clear(), StreamOpFlag.NOT_SORTED); in testOpMask() [all …]
|
D | StreamFlagsTest.java | 69 EnumSet.of(DISTINCT, SORTED, SHORT_CIRCUIT)); in testBaseStreams() 72 EnumSet.of(DISTINCT, SORTED, SHORT_CIRCUIT)); in testBaseStreams() 75 EnumSet.of(ORDERED, SORTED, SHORT_CIRCUIT)); in testBaseStreams() 77 EnumSet.of(ORDERED, SIZED, DISTINCT, SORTED), in testBaseStreams() 81 EnumSet.of(SORTED, SHORT_CIRCUIT)); in testBaseStreams() 84 EnumSet.of(DISTINCT, SORTED, SHORT_CIRCUIT)); in testBaseStreams()
|
D | FlagOpTest.java | 165 EnumSet<StreamOpFlag> preserve = EnumSet.of(StreamOpFlag.DISTINCT, StreamOpFlag.SORTED); in testFlagsSetSequence() 168 for (StreamOpFlag f : EnumSet.of(StreamOpFlag.DISTINCT, StreamOpFlag.SORTED)) { in testFlagsSetSequence() 199 EnumSet<StreamOpFlag> preserve = EnumSet.of(StreamOpFlag.DISTINCT, StreamOpFlag.SORTED); in testFlagsClearSequence() 203 …r (StreamOpFlag f : EnumSet.of(StreamOpFlag.ORDERED, StreamOpFlag.DISTINCT, StreamOpFlag.SORTED)) { in testFlagsClearSequence()
|
/libcore/ojluni/src/main/java/java/util/stream/ |
D | StreamOpFlag.java | 270 SORTED(1, enumConstant 618 public static final int IS_SORTED = SORTED.set; 624 public static final int NOT_SORTED = SORTED.clear; 762 if ((characteristics & Spliterator.SORTED) != 0 && spliterator.getComparator() != null) { in fromCharacteristics() 765 return characteristics & SPLITERATOR_CHARACTERISTICS_MASK & ~Spliterator.SORTED; in fromCharacteristics()
|
D | SortedOps.java | 138 if (StreamOpFlag.SORTED.isKnown(flags) && isNaturalSort) in opWrapSink() 152 if (StreamOpFlag.SORTED.isKnown(helper.getStreamAndOpFlags()) && isNaturalSort) { in opEvaluateParallel() 177 if (StreamOpFlag.SORTED.isKnown(flags)) in opWrapSink() 189 if (StreamOpFlag.SORTED.isKnown(helper.getStreamAndOpFlags())) { in opEvaluateParallel() 216 if (StreamOpFlag.SORTED.isKnown(flags)) in opWrapSink() 228 if (StreamOpFlag.SORTED.isKnown(helper.getStreamAndOpFlags())) { in opEvaluateParallel() 255 if (StreamOpFlag.SORTED.isKnown(flags)) in opWrapSink() 267 if (StreamOpFlag.SORTED.isKnown(helper.getStreamAndOpFlags())) { in opEvaluateParallel()
|
D | Streams.java | 128 Spliterator.DISTINCT | Spliterator.SORTED; in characteristics() 252 Spliterator.DISTINCT | Spliterator.SORTED; in characteristics() 764 & ~(Spliterator.DISTINCT | Spliterator.SORTED in characteristics()
|
D | DistinctOps.java | 127 } else if (StreamOpFlag.SORTED.isKnown(flags)) { in makeRef()
|
D | StreamSpliterators.java | 258 if (!hasCharacteristics(SORTED)) 1307 Spliterator.SORTED | Spliterator.ORDERED)) in characteristics()
|
/libcore/ojluni/src/main/java/java/util/ |
D | SortedSet.java | 257 this, Spliterator.DISTINCT | Spliterator.SORTED | Spliterator.ORDERED) { in spliterator()
|
D | Spliterators.java | 974 if (hasCharacteristics(Spliterator.SORTED)) in getComparator() 1057 if (hasCharacteristics(Spliterator.SORTED)) in getComparator() 1140 if (hasCharacteristics(Spliterator.SORTED)) in getComparator() 1223 if (hasCharacteristics(Spliterator.SORTED)) in getComparator() 1832 if (hasCharacteristics(Spliterator.SORTED)) in getComparator() 1931 if (hasCharacteristics(Spliterator.SORTED)) in getComparator() 2025 if (hasCharacteristics(Spliterator.SORTED)) in getComparator() 2119 if (hasCharacteristics(Spliterator.SORTED)) in getComparator()
|
D | Spliterator.java | 507 public static final int SORTED = 0x00000004; field
|
D | BitSet.java | 1243 Spliterator.ORDERED | Spliterator.DISTINCT | Spliterator.SORTED), in stream() 1245 Spliterator.ORDERED | Spliterator.DISTINCT | Spliterator.SORTED, in stream()
|
D | TreeMap.java | 1810 Spliterator.SORTED; in characteristics() 2808 Spliterator.DISTINCT | Spliterator.SORTED | Spliterator.ORDERED; in characteristics() 3031 Spliterator.DISTINCT | Spliterator.SORTED | Spliterator.ORDERED; in characteristics()
|
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/ |
D | DistinctOpTest.java | 122 …ort.stream(Spliterators.spliterator(c.toArray(), Spliterator.ORDERED | Spliterator.SORTED), false), in SortedTestData() 123 …port.stream(Spliterators.spliterator(c.toArray(), Spliterator.ORDERED | Spliterator.SORTED), true), in SortedTestData() 124 … c -> Spliterators.spliterator(c.toArray(), Spliterator.ORDERED | Spliterator.SORTED), in SortedTestData()
|
D | SortedOpTest.java | 131 assertTrue(s.hasCharacteristics(Spliterator.SORTED)); in testSorted() 134 assertFalse(s.hasCharacteristics(Spliterator.SORTED)); in testSorted()
|
D | ConcatTest.java | 129 assertFalse(sp.hasCharacteristics(Spliterator.SORTED), scenario); in assertConcatContent()
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | TreeMapTest.java | 646 Spliterator.DISTINCT | Spliterator.ORDERED | Spliterator.SIZED | Spliterator.SORTED, in test_spliterator_keySet() 738 Spliterator.DISTINCT | Spliterator.ORDERED | Spliterator.SIZED | Spliterator.SORTED, in test_spliterator_entrySet()
|
/libcore/ojluni/src/test/java/util/stream/bootlib/java/util/stream/ |
D | SpliteratorTestHelper.java | 601 assertTrue(s.hasCharacteristics(Spliterator.SORTED)); 603 assertFalse(s.hasCharacteristics(Spliterator.SORTED));
|
D | LambdaTestHelpers.java | 458 if (StreamOpFlag.SORTED.isKnown(flags)) sj.add("IS_SORTED");
|
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/ |
D | SpliteratorTestHelper.java | 601 assertTrue(s.hasCharacteristics(Spliterator.SORTED)); 603 assertFalse(s.hasCharacteristics(Spliterator.SORTED));
|
D | LambdaTestHelpers.java | 459 if (StreamOpFlag.SORTED.isKnown(flags)) sj.add("IS_SORTED");
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | ConcurrentSkipListMap.java | 3208 Spliterator.SORTED; in characteristics() 3385 return Spliterator.DISTINCT | Spliterator.SORTED | in characteristics() 3565 return Spliterator.DISTINCT | Spliterator.SORTED | in characteristics()
|