Home
last modified time | relevance | path

Searched refs:DISTINCT (Results 1 – 25 of 47) sorted by relevance

12

/libcore/ojluni/src/test/java/util/stream/boottest/java/util/stream/
DStreamOpFlagsTest.java181 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 …]
DStreamFlagsTest.java69 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()
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 …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/
DIntPrimitiveOpsTests.java98 .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()
DLongPrimitiveOpsTests.java98 .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/
DDistinctOps.java72 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()
DStreamOpFlag.java249 DISTINCT(0, enumConstant
618 public static final int IS_DISTINCT = DISTINCT.set;
624 public static final int NOT_DISTINCT = DISTINCT.clear;
DStreams.java122 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/
DTypes.java203 public final static int DISTINCT = 2001; field in Types
/libcore/ojluni/src/test/java/util/concurrent/tck/
DLinkedBlockingQueue8Test.java72 & (Spliterator.DISTINCT in testSpliterator_characteristics()
DLinkedBlockingDeque8Test.java72 & (Spliterator.DISTINCT in testSpliterator_characteristics()
DArrayDeque8Test.java75 | Spliterator.DISTINCT in testSpliterator_characteristics()
/libcore/ojluni/src/main/java/java/util/
DSortedSet.java257 this, Spliterator.DISTINCT | Spliterator.SORTED | Spliterator.ORDERED) { in spliterator()
DLinkedHashSet.java206 return Spliterators.spliterator(this, Spliterator.DISTINCT | Spliterator.ORDERED); in spliterator()
DSpliterator.java499 public static final int DISTINCT = 0x00000001; field
DSet.java441 return Spliterators.spliterator(this, Spliterator.DISTINCT); in spliterator()
/libcore/luni/src/test/java/libcore/java/util/
DHashMapTest.java103 assertEquals(Spliterator.DISTINCT | Spliterator.SIZED, in test_spliterator_keySet()
136 assertEquals(Spliterator.DISTINCT | Spliterator.SIZED, in test_spliterator_entrySet()
DLinkedHashMapTest.java422 Spliterator.DISTINCT | Spliterator.ORDERED | Spliterator.SIZED in test_spliterator_keySet()
462 Spliterator.DISTINCT | Spliterator.ORDERED | Spliterator.SIZED | in test_spliterator_entrySet()
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/main/java/java/util/concurrent/
DCopyOnWriteArraySet.java445 (al.getArray(), Spliterator.IMMUTABLE | Spliterator.DISTINCT); in spliterator()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DWeakHashMapTest.java545 assertTrue(keys.spliterator().hasCharacteristics(Spliterator.DISTINCT)); in test_spliterator_keySet()
609 assertTrue(values.spliterator().hasCharacteristics(Spliterator.DISTINCT)); in test_spliterator_entrySet()
DHashSetTest.java276 assertTrue(hashSet.spliterator().hasCharacteristics(Spliterator.DISTINCT)); in test_spliterator()
DTreeSetTest.java345 assertTrue(treeSet.spliterator().hasCharacteristics(Spliterator.DISTINCT)); in test_spliterator()
/libcore/ojluni/src/main/java/java/nio/file/
DFiles.java3475 … 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/
DJarFile.java305 Spliterator.ORDERED | Spliterator.DISTINCT | in stream()

12