/libcore/ojluni/src/main/java/java/util/ |
D | PrimitiveIterator.java | 80 void forEachRemaining(T_CONS action); in forEachRemaining() method 112 default void forEachRemaining(IntConsumer action) { in forEachRemaining() method 141 default void forEachRemaining(Consumer<? super Integer> action) { in forEachRemaining() method 143 forEachRemaining((IntConsumer) action); in forEachRemaining() 150 forEachRemaining((IntConsumer) action::accept); in forEachRemaining() 186 default void forEachRemaining(LongConsumer action) { in forEachRemaining() method 215 default void forEachRemaining(Consumer<? super Long> action) { in forEachRemaining() method 217 forEachRemaining((LongConsumer) action); in forEachRemaining() 224 forEachRemaining((LongConsumer) action::accept); in forEachRemaining() 259 default void forEachRemaining(DoubleConsumer action) { in forEachRemaining() method [all …]
|
D | Spliterator.java | 325 default void forEachRemaining(Consumer<? super T> action) { in forEachRemaining() method 635 default void forEachRemaining(T_CONS action) { in forEachRemaining() method 653 default void forEachRemaining(IntConsumer action) { in forEachRemaining() method 691 default void forEachRemaining(Consumer<? super Integer> action) { in forEachRemaining() method 693 forEachRemaining((IntConsumer) action); in forEachRemaining() 699 forEachRemaining((IntConsumer) action::accept); in forEachRemaining() 717 default void forEachRemaining(LongConsumer action) { in forEachRemaining() method 755 default void forEachRemaining(Consumer<? super Long> action) { in forEachRemaining() method 757 forEachRemaining((LongConsumer) action); in forEachRemaining() 763 forEachRemaining((LongConsumer) action::accept); in forEachRemaining() [all …]
|
D | Spliterators.java | 849 public void forEachRemaining(C consumer) { in forEachRemaining() method in Spliterators.EmptySpliterator 942 public void forEachRemaining(Consumer<? super T> action) { in forEachRemaining() method in Spliterators.ArraySpliterator 1026 public void forEachRemaining(IntConsumer action) { in forEachRemaining() method in Spliterators.IntArraySpliterator 1109 public void forEachRemaining(LongConsumer action) { in forEachRemaining() method in Spliterators.LongArraySpliterator 1192 public void forEachRemaining(DoubleConsumer action) { in forEachRemaining() method in Spliterators.DoubleArraySpliterator 1794 public void forEachRemaining(Consumer<? super T> action) { in forEachRemaining() method in Spliterators.IteratorSpliterator 1801 i.forEachRemaining(action); in forEachRemaining() 1906 public void forEachRemaining(IntConsumer action) { in forEachRemaining() method in Spliterators.IntIteratorSpliterator 1908 it.forEachRemaining(action); in forEachRemaining() 2000 public void forEachRemaining(LongConsumer action) { in forEachRemaining() method in Spliterators.LongIteratorSpliterator [all …]
|
D | Iterator.java | 113 default void forEachRemaining(Consumer<? super E> action) { in forEachRemaining() method
|
D | SplittableRandom.java | 869 public void forEachRemaining(IntConsumer consumer) { in forEachRemaining() method in SplittableRandom.RandomIntsSpliterator 925 public void forEachRemaining(LongConsumer consumer) { in forEachRemaining() method in SplittableRandom.RandomLongsSpliterator 982 public void forEachRemaining(DoubleConsumer consumer) { in forEachRemaining() method in SplittableRandom.RandomDoublesSpliterator
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | PrimitiveIteratorTest.java | 96 cit.forEachRemaining((int i) -> recorder.add(i)); in testIntIterator_forEachRemaining_Consumer() 102 cit.forEachRemaining((IntConsumer) null); in testIntIterator_forEachRemaining_Consumer() 113 cit.forEachRemaining((Integer i) -> recorder.add(i)); in testIntIterator_forEachRemaining_boxedConsumer() 121 cit.forEachRemaining((int i) -> recorder2.add(i)); in testIntIterator_forEachRemaining_boxedConsumer() 126 cit.forEachRemaining((Consumer<Integer>) null); in testIntIterator_forEachRemaining_boxedConsumer() 143 cit.forEachRemaining((long i) -> recorder.add(i)); in testLongIterator_forEachRemaining_Consumer() 149 cit.forEachRemaining((LongConsumer) null); in testLongIterator_forEachRemaining_Consumer() 160 cit.forEachRemaining((Long i) -> recorder.add(i)); in testLongIterator_forEachRemaining_boxedConsumer() 168 cit.forEachRemaining((long i) -> recorder2.add(i)); in testLongIterator_forEachRemaining_boxedConsumer() 173 cit.forEachRemaining((Consumer<Long>) null); in testLongIterator_forEachRemaining_boxedConsumer() [all …]
|
D | SpliteratorsTest.java | 47 empty.forEachRemaining(alwaysFails); in testEmptyIntSpliterator() 48 empty.forEachRemaining(alwaysFailsBoxed); in testEmptyIntSpliterator() 61 empty.forEachRemaining(alwaysFails); in testEmptyRefSpliterator() 77 empty.forEachRemaining(alwaysFails); in testEmptyLongSpliterator() 78 empty.forEachRemaining(alwaysFailsBoxed); in testEmptyLongSpliterator() 94 empty.forEachRemaining(alwaysFails); in testEmptyDoubleSpliterator() 95 empty.forEachRemaining(alwaysFailsBoxed); in testEmptyDoubleSpliterator() 235 split2.forEachRemaining((int value) -> recorder.add(value)); in test_spliterator_int() 241 split1.forEachRemaining((int value) -> recorder.add(value)); in test_spliterator_int() 242 intSp.forEachRemaining((int value) -> recorder.add(value)); in test_spliterator_int() [all …]
|
D | ForEachRemainingTester.java | 58 lit.forEachRemaining((T i) -> recorder.add(i)); in test_forEachRemaining_list() 72 collection.iterator().forEachRemaining((T i) -> recorder.add(i)); in test_forEachRemaining() 80 it.forEachRemaining((T i) -> recorder.add(i)); in test_forEachRemaining() 92 collection.iterator().forEachRemaining(null); in test_forEachRemaining_NPE() 102 collection.iterator().forEachRemaining(i -> collection.add(i)); in test_forEachRemaining_CME() 111 collection.iterator().forEachRemaining(null); in test_forEachRemaining_NPE_list() 121 collection.iterator().forEachRemaining(i -> collection.add(i)); in test_forEachRemaining_CME_list()
|
D | SpliteratorTester.java | 53 spliterator.forEachRemaining(consumer); in runBasicIterationTests() 58 spliterator.forEachRemaining((T) -> fail()); in runBasicIterationTests() 75 spliterator.forEachRemaining(consumer); in runBasicIterationTests_unordered() 82 spliterator.forEachRemaining((T) -> fail()); in runBasicIterationTests_unordered() 88 spliterator.forEachRemaining(value -> recorder.add(value)); in recordAndAssertBasicIteration() 106 spliterator.forEachRemaining(null); in testSpliteratorNPE() 188 spliterator.forEachRemaining(value -> result.add(value)); in toList() 281 spliterator.forEachRemaining(value -> { distinct.add(value); allElements.add(value); }); in runDistinctTests() 284 split1.forEachRemaining(value -> { distinct.add(value); allElements.add(value); }); in runDistinctTests() 311 spliterator.forEachRemaining(value -> elements.add(value)); in runSortedTests() [all …]
|
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/ |
D | SpliteratorTestHelper.java | 155 spliterator.forEachRemaining(addToFromForEach); in testSpliterator() 178 … executeAndCatch(NullPointerException.class, () -> psp.forEachRemaining((IntConsumer) null)); in testNullPointerException() 183 … executeAndCatch(NullPointerException.class, () -> psp.forEachRemaining((LongConsumer) null)); in testNullPointerException() 188 … executeAndCatch(NullPointerException.class, () -> psp.forEachRemaining((DoubleConsumer) null)); in testNullPointerException() 192 executeAndCatch(NullPointerException.class, () -> sp.forEachRemaining(null)); in testNullPointerException() 209 spliterator.forEachRemaining(addToFromForEach); in testForEach() 212 spliterator.forEachRemaining(boxingAdapter.apply( in testForEach() 242 spliterator.forEachRemaining(boxingAdapter.apply( in testTryAdvance() 271 spliterator.forEachRemaining(addToDest); in testMixedTryAdvanceForEach() 274 spliterator.forEachRemaining(boxingAdapter.apply( in testMixedTryAdvanceForEach() [all …]
|
D | TestData.java | 61 spliterator().forEachRemaining(target::add); in into() 301 spliterator().forEachRemaining((IntConsumer) target::add); in into() 326 spliterator().forEachRemaining((LongConsumer) target::add); in into() 351 spliterator().forEachRemaining((DoubleConsumer) target::add); in into()
|
/libcore/ojluni/src/test/java/util/stream/bootlib/java/util/stream/ |
D | SpliteratorTestHelper.java | 155 spliterator.forEachRemaining(addToFromForEach); in testSpliterator() 178 … executeAndCatch(NullPointerException.class, () -> psp.forEachRemaining((IntConsumer) null)); in testNullPointerException() 183 … executeAndCatch(NullPointerException.class, () -> psp.forEachRemaining((LongConsumer) null)); in testNullPointerException() 188 … executeAndCatch(NullPointerException.class, () -> psp.forEachRemaining((DoubleConsumer) null)); in testNullPointerException() 192 executeAndCatch(NullPointerException.class, () -> sp.forEachRemaining(null)); in testNullPointerException() 209 spliterator.forEachRemaining(addToFromForEach); in testForEach() 212 spliterator.forEachRemaining(boxingAdapter.apply( in testForEach() 242 spliterator.forEachRemaining(boxingAdapter.apply( in testTryAdvance() 271 spliterator.forEachRemaining(addToDest); in testMixedTryAdvanceForEach() 274 spliterator.forEachRemaining(boxingAdapter.apply( in testMixedTryAdvanceForEach() [all …]
|
D | TestData.java | 60 spliterator().forEachRemaining(target::add); in into() 300 spliterator().forEachRemaining((IntConsumer) target::add); in into() 325 spliterator().forEachRemaining((LongConsumer) target::add); in into() 350 spliterator().forEachRemaining((DoubleConsumer) target::add); in into()
|
/libcore/ojluni/src/main/java/java/util/stream/ |
D | Streams.java | 101 public void forEachRemaining(IntConsumer consumer) { in forEachRemaining() method in Streams.RangeIntSpliterator 226 public void forEachRemaining(LongConsumer consumer) { in forEachRemaining() method in Streams.RangeLongSpliterator 415 public void forEachRemaining(Consumer<? super T> action) { in forEachRemaining() method in Streams.StreamBuilderImpl 506 public void forEachRemaining(IntConsumer action) { in forEachRemaining() method in Streams.IntStreamBuilderImpl 597 public void forEachRemaining(LongConsumer action) { in forEachRemaining() method in Streams.LongStreamBuilderImpl 688 public void forEachRemaining(DoubleConsumer action) { in forEachRemaining() method in Streams.DoubleStreamBuilderImpl 740 public void forEachRemaining(Consumer<? super T> consumer) { 742 aSpliterator.forEachRemaining(consumer); 743 bSpliterator.forEachRemaining(consumer); 808 public void forEachRemaining(T_CONS action) { in forEachRemaining() method in Streams.OfPrimitive [all …]
|
D | StreamSpliterators.java | 307 public void forEachRemaining(Consumer<? super P_OUT> consumer) { in forEachRemaining() method 365 public void forEachRemaining(IntConsumer consumer) { in forEachRemaining() method in StreamSpliterators.AbstractWrappingSpliterator.IntWrappingSpliterator 423 public void forEachRemaining(LongConsumer consumer) { in forEachRemaining() method in StreamSpliterators.AbstractWrappingSpliterator.LongWrappingSpliterator 481 public void forEachRemaining(DoubleConsumer consumer) { in forEachRemaining() method in StreamSpliterators.AbstractWrappingSpliterator.DoubleWrappingSpliterator 530 public void forEachRemaining(Consumer<? super T> consumer) { in forEachRemaining() method in StreamSpliterators.AbstractWrappingSpliterator.DelegatingSpliterator 531 get().forEachRemaining(consumer); in forEachRemaining() 572 public void forEachRemaining(T_CONS consumer) { in forEachRemaining() method in StreamSpliterators.AbstractWrappingSpliterator.DelegatingSpliterator.OfPrimitive 573 get().forEachRemaining(consumer); in forEachRemaining() 729 public void forEachRemaining(Consumer<? super T> action) { in forEachRemaining() method in StreamSpliterators.AbstractWrappingSpliterator.SliceSpliterator.OfRef 740 s.forEachRemaining(action); in forEachRemaining() [all …]
|
D | Node.java | 333 spliterator().forEachRemaining(consumer); in forEach() 406 spliterator().forEachRemaining(consumer); in forEach() 479 spliterator().forEachRemaining(consumer); in forEach()
|
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/ |
D | StreamSpliteratorTest.java | 95 public void forEachRemaining(Consumer<? super T> consumer) { in forEachRemaining() method in StreamSpliteratorTest.ProxyNoExactSizeSpliterator 97 sp.forEachRemaining(consumer); in forEachRemaining() 141 public void forEachRemaining(Consumer<? super Integer> consumer) { in forEachRemaining() method in StreamSpliteratorTest.ProxyNoExactSizeSpliterator.OfInt 142 Spliterator.OfInt.super.forEachRemaining(consumer); in forEachRemaining() 153 public void forEachRemaining(IntConsumer consumer) { in forEachRemaining() method in StreamSpliteratorTest.ProxyNoExactSizeSpliterator.OfInt 155 psp.forEachRemaining(consumer); in forEachRemaining() 182 public void forEachRemaining(Consumer<? super Long> consumer) { in forEachRemaining() method in StreamSpliteratorTest.ProxyNoExactSizeSpliterator.OfLong 183 Spliterator.OfLong.super.forEachRemaining(consumer); in forEachRemaining() 194 public void forEachRemaining(LongConsumer consumer) { in forEachRemaining() method in StreamSpliteratorTest.ProxyNoExactSizeSpliterator.OfLong 196 psp.forEachRemaining(consumer); in forEachRemaining() [all …]
|
/libcore/ojluni/src/main/java/java/lang/ |
D | CharSequence.java | 147 public void forEachRemaining(IntConsumer block) { in chars() method in CharSequence.CharIterator 182 public void forEachRemaining(IntConsumer block) { in codePoints() method in CharSequence.CodePointIterator
|
/libcore/ojluni/annotations/sdk/nullability/java/util/ |
D | Iterator.annotated.java | 35 …public default void forEachRemaining(@libcore.util.NonNull Consumer<? super @libcore.util.NullFrom… in forEachRemaining() method
|
/libcore/ojluni/annotations/hiddenapi/java/util/ |
D | Random.java | 241 public void forEachRemaining(java.util.function.DoubleConsumer consumer) { in forEachRemaining() method in Random.RandomDoublesSpliterator 295 public void forEachRemaining(java.util.function.IntConsumer consumer) { in forEachRemaining() method in Random.RandomIntsSpliterator 350 public void forEachRemaining(java.util.function.LongConsumer consumer) { in forEachRemaining() method in Random.RandomLongsSpliterator
|
D | ArrayDeque.java | 244 public void forEachRemaining(java.util.function.Consumer<? super E> action) { in forEachRemaining() method in ArrayDeque.DeqIterator 270 public void forEachRemaining(java.util.function.Consumer<? super E> consumer) { in forEachRemaining() method in ArrayDeque.DeqSpliterator
|
D | Vector.java | 303 public void forEachRemaining(java.util.function.Consumer<? super E> action) { in forEachRemaining() method in Vector.Itr 376 public void forEachRemaining(java.util.function.Consumer<? super E> action) { in forEachRemaining() method in Vector.VectorSpliterator
|
D | LinkedList.java | 321 public void forEachRemaining(java.util.function.Consumer<? super E> action) { in forEachRemaining() method in LinkedList.LLSpliterator 395 public void forEachRemaining(java.util.function.Consumer<? super E> action) { in forEachRemaining() method in LinkedList.ListItr
|
/libcore/ojluni/src/main/java/java/nio/ |
D | CharBufferSpliterator.java | 64 public void forEachRemaining(IntConsumer action) { in forEachRemaining() method in CharBufferSpliterator
|
/libcore/ojluni/src/test/java/util/stream/boottest/java/util/stream/ |
D | SpinedBufferTest.java | 106 spliterator.forEachRemaining(contentOfLastSplit::add); in testLastSplit() 181 spliterator.forEachRemaining((IntConsumer) contentOfLastSplit::add); in testIntLastSplit() 256 spliterator.forEachRemaining((LongConsumer) contentOfLastSplit::add); in testLongLastSplit() 332 spliterator.forEachRemaining((DoubleConsumer) contentOfLastSplit::add); in testLongLastSplit()
|