/libcore/ojluni/src/test/java/util/stream/boottest/java/util/stream/ |
D | StreamOpFlagsTest.java | 181 assertTrue(StreamOpFlag.DISTINCT.isKnown(opsFlags)); in testApplySourceFlags() 182 assertFalse(StreamOpFlag.DISTINCT.isCleared(opsFlags)); in testApplySourceFlags() 183 assertFalse(StreamOpFlag.DISTINCT.isPreserved(opsFlags)); in testApplySourceFlags() 193 assertTrue(StreamOpFlag.DISTINCT.isKnown(streamFlags)); in testApplySourceFlags() 199 assertSpliteratorMask(StreamOpFlag.DISTINCT.set(), StreamOpFlag.IS_DISTINCT); in testSpliteratorMask() 200 assertSpliteratorMask(StreamOpFlag.DISTINCT.clear(), 0); in testSpliteratorMask() 220 assertStreamMask(StreamOpFlag.DISTINCT.set(), StreamOpFlag.IS_DISTINCT); in testStreamMask() 221 assertStreamMask(StreamOpFlag.DISTINCT.clear(), 0); in testStreamMask() 241 assertOpMask(StreamOpFlag.DISTINCT.set(), StreamOpFlag.IS_DISTINCT); in testOpMask() 242 assertOpMask(StreamOpFlag.DISTINCT.clear(), StreamOpFlag.NOT_DISTINCT); in testOpMask() [all …]
|
D | StreamFlagsTest.java | 69 EnumSet.of(DISTINCT, SORTED, SHORT_CIRCUIT)); in testBaseStreams() 72 EnumSet.of(DISTINCT, SORTED, SHORT_CIRCUIT)); in testBaseStreams() 74 EnumSet.of(SIZED, DISTINCT), in testBaseStreams() 77 EnumSet.of(ORDERED, SIZED, DISTINCT, SORTED), in testBaseStreams() 80 EnumSet.of(ORDERED, DISTINCT, SIZED), 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 …for (StreamOpFlag f : EnumSet.of(StreamOpFlag.ORDERED, StreamOpFlag.DISTINCT, StreamOpFlag.SORTED)… in testFlagsClearSequence()
|
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/ |
D | IntPrimitiveOpsTests.java | 98 .hasCharacteristics(Spliterator.SORTED | Spliterator.DISTINCT)); in testFlags() 102 .hasCharacteristics(Spliterator.DISTINCT)); in testFlags() 105 .hasCharacteristics(Spliterator.SORTED | Spliterator.DISTINCT)); in testFlags() 109 .hasCharacteristics(Spliterator.DISTINCT)); in testFlags() 112 .hasCharacteristics(Spliterator.SORTED | Spliterator.DISTINCT)); in testFlags() 116 .hasCharacteristics(Spliterator.DISTINCT)); in testFlags()
|
D | LongPrimitiveOpsTests.java | 98 .hasCharacteristics(Spliterator.SORTED | Spliterator.DISTINCT)); in testFlags() 102 .hasCharacteristics(Spliterator.DISTINCT)); in testFlags() 107 .hasCharacteristics(Spliterator.DISTINCT)); in testFlags()
|
/libcore/ojluni/src/main/java/java/util/stream/ |
D | DistinctOps.java | 72 if (StreamOpFlag.DISTINCT.isKnown(helper.getStreamAndOpFlags())) { in makeRef() 106 if (StreamOpFlag.DISTINCT.isKnown(helper.getStreamAndOpFlags())) { in makeRef() 125 if (StreamOpFlag.DISTINCT.isKnown(flags)) { in makeRef()
|
D | StreamOpFlag.java | 249 DISTINCT(0, enumConstant 618 public static final int IS_DISTINCT = DISTINCT.set; 624 public static final int NOT_DISTINCT = DISTINCT.clear;
|
D | Streams.java | 122 Spliterator.DISTINCT | Spliterator.SORTED; in characteristics() 245 Spliterator.DISTINCT | Spliterator.SORTED; in characteristics() 756 & ~(Spliterator.DISTINCT | Spliterator.SORTED in characteristics()
|
/libcore/ojluni/src/main/java/java/sql/ |
D | Types.java | 203 public final static int DISTINCT = 2001; field in Types
|
/libcore/ojluni/src/test/java/util/concurrent/tck/ |
D | LinkedBlockingQueue8Test.java | 72 & (Spliterator.DISTINCT in testSpliterator_characteristics()
|
D | LinkedBlockingDeque8Test.java | 72 & (Spliterator.DISTINCT in testSpliterator_characteristics()
|
D | ArrayDeque8Test.java | 75 | Spliterator.DISTINCT in testSpliterator_characteristics()
|
/libcore/ojluni/src/main/java/java/util/ |
D | SortedSet.java | 257 this, Spliterator.DISTINCT | Spliterator.SORTED | Spliterator.ORDERED) { in spliterator()
|
D | LinkedHashSet.java | 206 return Spliterators.spliterator(this, Spliterator.DISTINCT | Spliterator.ORDERED); in spliterator()
|
D | Spliterator.java | 499 public static final int DISTINCT = 0x00000001; field
|
D | Set.java | 441 return Spliterators.spliterator(this, Spliterator.DISTINCT); in spliterator()
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | HashMapTest.java | 103 assertEquals(Spliterator.DISTINCT | Spliterator.SIZED, in test_spliterator_keySet() 136 assertEquals(Spliterator.DISTINCT | Spliterator.SIZED, in test_spliterator_entrySet()
|
D | LinkedHashMapTest.java | 422 Spliterator.DISTINCT | Spliterator.ORDERED | Spliterator.SIZED in test_spliterator_keySet() 462 Spliterator.DISTINCT | Spliterator.ORDERED | Spliterator.SIZED | in test_spliterator_entrySet()
|
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/main/java/java/util/concurrent/ |
D | CopyOnWriteArraySet.java | 445 (al.getArray(), Spliterator.IMMUTABLE | Spliterator.DISTINCT); in spliterator()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | WeakHashMapTest.java | 545 assertTrue(keys.spliterator().hasCharacteristics(Spliterator.DISTINCT)); in test_spliterator_keySet() 609 assertTrue(values.spliterator().hasCharacteristics(Spliterator.DISTINCT)); in test_spliterator_entrySet()
|
D | HashSetTest.java | 276 assertTrue(hashSet.spliterator().hasCharacteristics(Spliterator.DISTINCT)); in test_spliterator()
|
D | TreeSetTest.java | 345 assertTrue(treeSet.spliterator().hasCharacteristics(Spliterator.DISTINCT)); in test_spliterator()
|
/libcore/ojluni/src/main/java/java/nio/file/ |
D | Files.java | 3475 … return StreamSupport.stream(Spliterators.spliteratorUnknownSize(it, Spliterator.DISTINCT), false) 3576 …rn StreamSupport.stream(Spliterators.spliteratorUnknownSize(iterator, Spliterator.DISTINCT), false) 3689 …rn StreamSupport.stream(Spliterators.spliteratorUnknownSize(iterator, Spliterator.DISTINCT), false)
|
/libcore/ojluni/src/main/java/java/util/jar/ |
D | JarFile.java | 305 Spliterator.ORDERED | Spliterator.DISTINCT | in stream()
|