Home
last modified time | relevance | path

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

12

/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()
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
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
DWeakHashMap.java1172 public int characteristics() { in characteristics() method in WeakHashMap.KeySpliterator
1249 public int characteristics() { in characteristics() method in WeakHashMap.ValueSpliterator
1334 public int characteristics() { in characteristics() method in WeakHashMap.EntrySpliterator
DIdentityHashMap.java1467 public int characteristics() { in characteristics() method in IdentityHashMap.KeySpliterator
1525 public int characteristics() { in characteristics() method in IdentityHashMap.ValueSpliterator
1592 public int characteristics() { in characteristics() method in IdentityHashMap.EntrySpliterator
/libcore/ojluni/src/main/java/java/util/stream/
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()
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()
DStreamOpFlag.java734 int characteristics = spliterator.characteristics(); in fromCharacteristics() local
735 if ((characteristics & Spliterator.SORTED) != 0 && spliterator.getComparator() != null) { in fromCharacteristics()
738 return characteristics & SPLITERATOR_CHARACTERISTICS_MASK & ~Spliterator.SORTED; in fromCharacteristics()
741 return characteristics & SPLITERATOR_CHARACTERISTICS_MASK; in fromCharacteristics()
751 public static int fromCharacteristics(int characteristics) { in fromCharacteristics() argument
752 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.java494 && (collector.characteristics().contains(Collector.Characteristics.CONCURRENT))
495 … && (!isOrdered() || collector.characteristics().contains(Collector.Characteristics.UNORDERED))) {
503 return collector.characteristics().contains(Collector.Characteristics.IDENTITY_FINISH)
/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()
DSpliteratorTestHelper.java398 …itSixDeepVisitor(depth, 0, dest, spliterator, boxingAdapter, spliterator.characteristics(), false); in testSplitSixDeep()
404 …litSixDeepVisitor(depth, 0, dest, spliterator, boxingAdapter, spliterator.characteristics(), true); in testSplitSixDeep()
503 this(c, s.characteristics(), s); in SplitNode()
/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()
DSpliteratorTestHelper.java398 …itSixDeepVisitor(depth, 0, dest, spliterator, boxingAdapter, spliterator.characteristics(), false); in testSplitSixDeep()
404 …litSixDeepVisitor(depth, 0, dest, spliterator, boxingAdapter, spliterator.characteristics(), true); in testSplitSixDeep()
503 this(c, s.characteristics(), s); in SplitNode()
/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.java379 keys.spliterator().characteristics()); in test_spliterator_keySet()
407 values.spliterator().characteristics()); in test_spliterator_values()
419 m.entrySet().spliterator().characteristics()); in test_spliterator_entrySet()
DTreeMapTest.java674 keys.spliterator().characteristics()); in test_spliterator_keySet()
710 values.spliterator().characteristics()); in test_spliterator_values()
766 entries.spliterator().characteristics()); in test_spliterator_entrySet()
DSpliteratorsTest.java50 assertEquals(Spliterator.SIZED | Spliterator.SUBSIZED, empty.characteristics()); in testEmptyIntSpliterator()
63 assertEquals(Spliterator.SIZED | Spliterator.SUBSIZED, empty.characteristics()); in testEmptyRefSpliterator()
80 assertEquals(Spliterator.SIZED | Spliterator.SUBSIZED, empty.characteristics()); in testEmptyLongSpliterator()
97 assertEquals(Spliterator.SIZED | Spliterator.SUBSIZED, empty.characteristics()); in testEmptyDoubleSpliterator()
/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.java761 public int characteristics() { in characteristics() method in ThreadLocalRandom.RandomIntsSpliterator
816 public int characteristics() { in characteristics() method in ThreadLocalRandom.RandomLongsSpliterator
872 public int characteristics() { in characteristics() method in ThreadLocalRandom.RandomDoublesSpliterator
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/
DStreamSpliteratorTest.java111 public int characteristics() { in characteristics() method in StreamSpliteratorTest.ProxyNoExactSizeSpliterator
113 return sp.characteristics(); in characteristics()
115 return sp.characteristics() & ~(Spliterator.SUBSIZED | Spliterator.SIZED); in characteristics()
DSliceOpTest.java224 public int characteristics() { in testSkipLimitOpsWithNonSplittingSpliterator() method in SliceOpTest.NonSplittingNotSubsizedOrderedSpliterator
225 return s.characteristics() & ~(Spliterator.SUBSIZED); in testSkipLimitOpsWithNonSplittingSpliterator()

12