Home
last modified time | relevance | path

Searched refs:characteristics (Results 1 – 25 of 66) sorted by relevance

123

/libcore/ojluni/src/main/java/java/util/
DSpliterators.java419 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 …]
DSpliterator.java408 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()
DRandom.java1020 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
DSplittableRandom.java853 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/
DCollector.java241 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()
DStreamSupport.java108 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()
DStreamOpFlag.java761 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()
DCollectors.java152 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 …]
DStreams.java125 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()
DStreamSpliterators.java236 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 …]
DReferencePipeline.java510 && (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/
DLinkedBlockingQueue8Test.java65 int characteristics = s.characteristics(); in testSpliterator_characteristics() local
69 assertEquals(required, characteristics & required); in testSpliterator_characteristics()
71 assertEquals(0, characteristics in testSpliterator_characteristics()
DLinkedBlockingDeque8Test.java65 int characteristics = s.characteristics(); in testSpliterator_characteristics() local
69 assertEquals(required, characteristics & required); in testSpliterator_characteristics()
71 assertEquals(0, characteristics in testSpliterator_characteristics()
DArrayDeque8Test.java66 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/
DTestData.java135 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/
DTestData.java136 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/
DRandom.java233 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
DArrayDeque.java282 public int characteristics() { in characteristics() method in ArrayDeque.DeqSpliterator
DPriorityQueue.java261 public int characteristics() { in characteristics() method in PriorityQueue.PriorityQueueSpliterator
/libcore/luni/src/test/java/libcore/java/util/
DHashMapTest.java104 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()
DLinkedHashMapTest.java449 keys.spliterator().characteristics()); in test_spliterator_keySet()
477 values.spliterator().characteristics()); in test_spliterator_values()
489 m.entrySet().spliterator().characteristics()); in test_spliterator_entrySet()
DTreeMapTest.java647 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/
DCharBufferSpliterator.java93 public int characteristics() { in characteristics() method in CharBufferSpliterator
/libcore/ojluni/src/main/java/java/util/concurrent/
DThreadLocalRandom.java762 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/
DCollectorsTest.java90 assertTrue(sqSumCollector.characteristics().contains(Collector.Characteristics.UNORDERED)); in collectorOf()

123