Home
last modified time | relevance | path

Searched refs:DISTINCT (Results 1 – 25 of 40) 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/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
606 public static final int IS_DISTINCT = DISTINCT.set;
612 public static final int NOT_DISTINCT = DISTINCT.clear;
DStreams.java128 Spliterator.DISTINCT | Spliterator.SORTED; in characteristics()
252 Spliterator.DISTINCT | Spliterator.SORTED; in characteristics()
764 & ~(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/main/java/java/util/
DLinkedHashSet.java193 return Spliterators.spliterator(this, Spliterator.DISTINCT | Spliterator.ORDERED); in spliterator()
DSortedSet.java257 this, Spliterator.DISTINCT | Spliterator.SORTED | Spliterator.ORDERED) { in spliterator()
DSpliterator.java493 public static final int DISTINCT = 0x00000001; field
DSet.java438 return Spliterators.spliterator(this, Spliterator.DISTINCT); in spliterator()
DLinkedHashMap.java585 Spliterator.DISTINCT); in spliterator()
699 Spliterator.DISTINCT); in spliterator()
DBitSet.java1243 Spliterator.ORDERED | Spliterator.DISTINCT | Spliterator.SORTED), in stream()
1245 Spliterator.ORDERED | Spliterator.DISTINCT | Spliterator.SORTED, in stream()
/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.java447 Spliterator.DISTINCT | Spliterator.ORDERED | Spliterator.SIZED in test_spliterator_keySet()
487 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.java440 (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()
DLinkedHashSetTest.java349 assertTrue(hashSet.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.java291 Spliterator.ORDERED | Spliterator.DISTINCT | in stream()
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/
DConcatTest.java127 assertFalse(sp.hasCharacteristics(Spliterator.DISTINCT), scenario); in assertConcatContent()
/libcore/ojluni/src/main/java/java/util/zip/
DZipFile.java612 Spliterator.ORDERED | Spliterator.DISTINCT | in stream()

12