Home
last modified time | relevance | path

Searched refs:SORTED (Results 1 – 24 of 24) sorted by relevance

/libcore/ojluni/src/test/java/util/stream/boottest/java/util/stream/
DStreamOpFlagsTest.java184 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 …]
DStreamFlagsTest.java69 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()
DFlagOpTest.java165 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/
DStreamOpFlag.java270 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()
DStreams.java128 Spliterator.DISTINCT | Spliterator.SORTED; in characteristics()
252 Spliterator.DISTINCT | Spliterator.SORTED; in characteristics()
764 & ~(Spliterator.DISTINCT | Spliterator.SORTED in characteristics()
DDistinctOps.java127 } else if (StreamOpFlag.SORTED.isKnown(flags)) { in makeRef()
DStreamSpliterators.java258 if (!hasCharacteristics(SORTED))
1307 Spliterator.SORTED | Spliterator.ORDERED)) in characteristics()
/libcore/ojluni/src/main/java/java/util/
DSortedSet.java257 this, Spliterator.DISTINCT | Spliterator.SORTED | Spliterator.ORDERED) { in spliterator()
DSpliterators.java974 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()
DSpliterator.java507 public static final int SORTED = 0x00000004; field
DBitSet.java1243 Spliterator.ORDERED | Spliterator.DISTINCT | Spliterator.SORTED), in stream()
1245 Spliterator.ORDERED | Spliterator.DISTINCT | Spliterator.SORTED, in stream()
DTreeMap.java1810 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/concurrent/tck/
DLinkedBlockingDeque8Test.java74 | Spliterator.SORTED)); in testSpliterator_characteristics()
DLinkedBlockingQueue8Test.java74 | Spliterator.SORTED)); in testSpliterator_characteristics()
DArrayDeque8Test.java77 | Spliterator.SORTED)); in testSpliterator_characteristics()
DCollection8Test.java912 boolean reportsSorted = s.hasCharacteristics(Spliterator.SORTED);
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/
DDistinctOpTest.java122 …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()
DSortedOpTest.java131 assertTrue(s.hasCharacteristics(Spliterator.SORTED)); in testSorted()
134 assertFalse(s.hasCharacteristics(Spliterator.SORTED)); in testSorted()
/libcore/luni/src/test/java/libcore/java/util/
DTreeMapTest.java646 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/
DSpliteratorTestHelper.java601 assertTrue(s.hasCharacteristics(Spliterator.SORTED));
603 assertFalse(s.hasCharacteristics(Spliterator.SORTED));
DLambdaTestHelpers.java458 if (StreamOpFlag.SORTED.isKnown(flags)) sj.add("IS_SORTED");
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/
DSpliteratorTestHelper.java601 assertTrue(s.hasCharacteristics(Spliterator.SORTED));
603 assertFalse(s.hasCharacteristics(Spliterator.SORTED));
DLambdaTestHelpers.java459 if (StreamOpFlag.SORTED.isKnown(flags)) sj.add("IS_SORTED");
/libcore/ojluni/src/main/java/java/util/concurrent/
DConcurrentSkipListMap.java3208 Spliterator.SORTED; in characteristics()
3385 return Spliterator.DISTINCT | Spliterator.SORTED | in characteristics()
3565 return Spliterator.DISTINCT | Spliterator.SORTED | in characteristics()