/libcore/ojluni/src/main/java/java/util/ |
D | Spliterators.java | 419 int characteristics) { in spliterator() argument 421 characteristics); in spliterator() 450 int characteristics) { in spliterator() argument 452 characteristics); in spliterator() 477 int characteristics) { in spliteratorUnknownSize() argument 478 return new IteratorSpliterator<>(Objects.requireNonNull(iterator), characteristics); in spliteratorUnknownSize() 507 int characteristics) { in spliterator() argument 509 size, characteristics); in spliterator() 534 int characteristics) { in spliteratorUnknownSize() argument 535 return new IntIteratorSpliterator(Objects.requireNonNull(iterator), characteristics); in spliteratorUnknownSize() [all …]
|
D | Spliterator.java | 408 return (characteristics() & SIZED) == 0 ? -1L : estimateSize(); in getExactSizeIfKnown() 432 int characteristics(); in characteristics() method 446 default boolean hasCharacteristics(int characteristics) { in hasCharacteristics() argument 447 return (characteristics() & characteristics) == characteristics; in hasCharacteristics()
|
D | Random.java | 1020 public int characteristics() { in characteristics() method in Random.RandomIntsSpliterator 1075 public int characteristics() { in characteristics() method in Random.RandomLongsSpliterator 1131 public int characteristics() { in characteristics() method in Random.RandomDoublesSpliterator
|
D | SplittableRandom.java | 853 public int characteristics() { in characteristics() method in SplittableRandom.RandomIntsSpliterator 909 public int characteristics() { in characteristics() method in SplittableRandom.RandomLongsSpliterator 966 public int characteristics() { in characteristics() method in SplittableRandom.RandomDoublesSpliterator
|
/libcore/ojluni/src/main/java/java/util/stream/ |
D | Collector.java | 241 Set<Characteristics> characteristics(); in characteristics() method 263 Characteristics... characteristics) { in of() argument 267 Objects.requireNonNull(characteristics); in of() 268 Set<Characteristics> cs = (characteristics.length == 0) in of() 271 characteristics)); in of() 295 Characteristics... characteristics) { in of() argument 300 Objects.requireNonNull(characteristics); in of() 302 if (characteristics.length > 0) { in of() 304 Collections.addAll(cs, characteristics); in of()
|
D | StreamSupport.java | 108 int characteristics, in stream() argument 112 StreamOpFlag.fromCharacteristics(characteristics), in stream() 176 int characteristics, in intStream() argument 179 StreamOpFlag.fromCharacteristics(characteristics), in intStream() 244 int characteristics, in longStream() argument 247 StreamOpFlag.fromCharacteristics(characteristics), in longStream() 312 int characteristics, in doubleStream() argument 315 StreamOpFlag.fromCharacteristics(characteristics), in doubleStream()
|
D | StreamOpFlag.java | 761 int characteristics = spliterator.characteristics(); in fromCharacteristics() local 762 if ((characteristics & Spliterator.SORTED) != 0 && spliterator.getComparator() != null) { in fromCharacteristics() 765 return characteristics & SPLITERATOR_CHARACTERISTICS_MASK & ~Spliterator.SORTED; in fromCharacteristics() 768 return characteristics & SPLITERATOR_CHARACTERISTICS_MASK; in fromCharacteristics() 779 public static int fromCharacteristics(int characteristics) { in fromCharacteristics() argument 780 return characteristics & SPLITERATOR_CHARACTERISTICS_MASK; in fromCharacteristics()
|
D | Collectors.java | 152 private final Set<Characteristics> characteristics; field in CollectorImpl 158 Set<Characteristics> characteristics) { in CollectorImpl() argument 163 this.characteristics = characteristics; in CollectorImpl() 169 Set<Characteristics> characteristics) { in CollectorImpl() argument 170 this(supplier, accumulator, combiner, castingIdentity(), characteristics); in CollectorImpl() 194 public Set<Characteristics> characteristics() { in characteristics() method in CollectorImpl 195 return characteristics; in characteristics() 357 downstream.characteristics()); 380 Set<Collector.Characteristics> characteristics = downstream.characteristics(); 381 if (characteristics.contains(Collector.Characteristics.IDENTITY_FINISH)) { [all …]
|
D | Streams.java | 125 public int characteristics() { in characteristics() method in Streams.RangeIntSpliterator 249 public int characteristics() { in characteristics() method in Streams.RangeLongSpliterator 323 public int characteristics() { in characteristics() method in Streams.AbstractStreamBuilderImpl 760 public int characteristics() { in characteristics() method in Streams 763 return aSpliterator.characteristics() & bSpliterator.characteristics() in characteristics() 768 return bSpliterator.characteristics(); in characteristics()
|
D | StreamSpliterators.java | 236 public final int characteristics() { 250 c |= (spliterator.characteristics() & (Spliterator.SIZED | Spliterator.SUBSIZED)); 540 public int characteristics() { in characteristics() method in StreamSpliterators.AbstractWrappingSpliterator.DelegatingSpliterator 541 return get().characteristics(); in characteristics() 685 public int characteristics() { in characteristics() method in StreamSpliterators.AbstractWrappingSpliterator.SliceSpliterator 686 return s.characteristics(); in characteristics() 986 public final int characteristics() { in characteristics() method in StreamSpliterators.AbstractWrappingSpliterator.UnorderedSliceSpliterator 987 return s.characteristics() & in characteristics() 1305 public int characteristics() { in characteristics() method in StreamSpliterators.AbstractWrappingSpliterator.DistinctSpliterator 1306 return (s.characteristics() & ~(Spliterator.SIZED | Spliterator.SUBSIZED | in characteristics() [all …]
|
D | ReferencePipeline.java | 510 && (collector.characteristics().contains(Collector.Characteristics.CONCURRENT)) 511 … && (!isOrdered() || collector.characteristics().contains(Collector.Characteristics.UNORDERED))) { 519 return collector.characteristics().contains(Collector.Characteristics.IDENTITY_FINISH)
|
/libcore/ojluni/src/test/java/util/concurrent/tck/ |
D | LinkedBlockingQueue8Test.java | 65 int characteristics = s.characteristics(); in testSpliterator_characteristics() local 69 assertEquals(required, characteristics & required); in testSpliterator_characteristics() 71 assertEquals(0, characteristics in testSpliterator_characteristics()
|
D | LinkedBlockingDeque8Test.java | 65 int characteristics = s.characteristics(); in testSpliterator_characteristics() local 69 assertEquals(required, characteristics & required); in testSpliterator_characteristics() 71 assertEquals(0, characteristics in testSpliterator_characteristics()
|
D | ArrayDeque8Test.java | 66 int characteristics = s.characteristics(); in testSpliterator_characteristics() local 71 assertEquals(required, characteristics & required); in testSpliterator_characteristics() 73 assertEquals(0, characteristics in testSpliterator_characteristics()
|
/libcore/ojluni/src/test/java/util/stream/bootlib/java/util/stream/ |
D | TestData.java | 135 int characteristics = Spliterator.SIZED | Spliterator.ORDERED; in ofNode() local 137 … n -> StreamSupport.intStream(n::spliterator, characteristics, false), in ofNode() 138 … n -> StreamSupport.intStream(n::spliterator, characteristics, true), in ofNode() 166 int characteristics = Spliterator.SIZED | Spliterator.ORDERED; in ofNode() local 168 … n -> StreamSupport.longStream(n::spliterator, characteristics, false), in ofNode() 169 … n -> StreamSupport.longStream(n::spliterator, characteristics, true), in ofNode() 197 int characteristics = Spliterator.SIZED | Spliterator.ORDERED; in ofNode() local 199 … n -> StreamSupport.doubleStream(n::spliterator, characteristics, false), in ofNode() 200 … n -> StreamSupport.doubleStream(n::spliterator, characteristics, true), in ofNode()
|
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/ |
D | TestData.java | 136 int characteristics = Spliterator.SIZED | Spliterator.ORDERED; in ofNode() local 138 … n -> StreamSupport.intStream(n::spliterator, characteristics, false), in ofNode() 139 … n -> StreamSupport.intStream(n::spliterator, characteristics, true), in ofNode() 167 int characteristics = Spliterator.SIZED | Spliterator.ORDERED; in ofNode() local 169 … n -> StreamSupport.longStream(n::spliterator, characteristics, false), in ofNode() 170 … n -> StreamSupport.longStream(n::spliterator, characteristics, true), in ofNode() 198 int characteristics = Spliterator.SIZED | Spliterator.ORDERED; in ofNode() local 200 … n -> StreamSupport.doubleStream(n::spliterator, characteristics, false), in ofNode() 201 … n -> StreamSupport.doubleStream(n::spliterator, characteristics, true), in ofNode()
|
/libcore/ojluni/annotations/hiddenapi/java/util/ |
D | Random.java | 233 public int characteristics() { in characteristics() method in Random.RandomDoublesSpliterator 287 public int characteristics() { in characteristics() method in Random.RandomIntsSpliterator 342 public int characteristics() { in characteristics() method in Random.RandomLongsSpliterator
|
D | ArrayDeque.java | 282 public int characteristics() { in characteristics() method in ArrayDeque.DeqSpliterator
|
D | PriorityQueue.java | 261 public int characteristics() { in characteristics() method in PriorityQueue.PriorityQueueSpliterator
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | HashMapTest.java | 104 keys.spliterator().characteristics()); in test_spliterator_keySet() 128 assertEquals(Spliterator.SIZED, values.spliterator().characteristics()); in test_spliterator_values() 137 m.entrySet().spliterator().characteristics()); in test_spliterator_entrySet()
|
D | LinkedHashMapTest.java | 449 keys.spliterator().characteristics()); in test_spliterator_keySet() 477 values.spliterator().characteristics()); in test_spliterator_values() 489 m.entrySet().spliterator().characteristics()); in test_spliterator_entrySet()
|
D | TreeMapTest.java | 647 keys.spliterator().characteristics()); in test_spliterator_keySet() 683 values.spliterator().characteristics()); in test_spliterator_values() 739 entries.spliterator().characteristics()); in test_spliterator_entrySet()
|
/libcore/ojluni/src/main/java/java/nio/ |
D | CharBufferSpliterator.java | 93 public int characteristics() { in characteristics() method in CharBufferSpliterator
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | ThreadLocalRandom.java | 762 public int characteristics() { in characteristics() method in ThreadLocalRandom.RandomIntsSpliterator 817 public int characteristics() { in characteristics() method in ThreadLocalRandom.RandomLongsSpliterator 873 public int characteristics() { in characteristics() method in ThreadLocalRandom.RandomDoublesSpliterator
|
/libcore/luni/src/test/java/libcore/java/util/stream/ |
D | CollectorsTest.java | 90 assertTrue(sqSumCollector.characteristics().contains(Collector.Characteristics.UNORDERED)); in collectorOf()
|