/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/ |
D | DoubleStreamTestScenario.java | 31 import java.util.function.DoubleConsumer; 52 void _run(TestData<T, S_IN> data, DoubleConsumer b, Function<S_IN, DoubleStream> m) { in STREAM_FOR_EACH_WITH_CLOSE() 64 void _run(TestData<T, S_IN> data, DoubleConsumer b, Function<S_IN, DoubleStream> m) { in STREAM_TO_ARRAY() 73 void _run(TestData<T, S_IN> data, DoubleConsumer b, Function<S_IN, DoubleStream> m) { in STREAM_ITERATOR() 82 void _run(TestData<T, S_IN> data, DoubleConsumer b, Function<S_IN, DoubleStream> m) { in STREAM_SPLITERATOR() 91 void _run(TestData<T, S_IN> data, DoubleConsumer b, Function<S_IN, DoubleStream> m) { in STREAM_SPLITERATOR_WITH_MIXED_TRAVERSE_AND_SPLIT() 99 void _run(TestData<T, S_IN> data, DoubleConsumer b, Function<S_IN, DoubleStream> m) { in STREAM_SPLITERATOR_FOREACH() 106 void _run(TestData<T, S_IN> data, DoubleConsumer b, Function<S_IN, DoubleStream> m) { in PAR_STREAM_SEQUENTIAL_FOR_EACH() 114 void _run(TestData<T, S_IN> data, DoubleConsumer b, Function<S_IN, DoubleStream> m) { in PAR_STREAM_FOR_EACH_ORDERED() 123 void _run(TestData<T, S_IN> data, DoubleConsumer b, Function<S_IN, DoubleStream> m) { in PAR_STREAM_SPLITERATOR() [all …]
|
/libcore/ojluni/src/test/java/util/stream/bootlib/java/util/stream/ |
D | DoubleStreamTestScenario.java | 31 import java.util.function.DoubleConsumer; 48 void _run(TestData<T, S_IN> data, DoubleConsumer b, Function<S_IN, DoubleStream> m) { in STREAM_FOR_EACH_WITH_CLOSE() 60 void _run(TestData<T, S_IN> data, DoubleConsumer b, Function<S_IN, DoubleStream> m) { in STREAM_TO_ARRAY() 69 void _run(TestData<T, S_IN> data, DoubleConsumer b, Function<S_IN, DoubleStream> m) { in STREAM_ITERATOR() 78 void _run(TestData<T, S_IN> data, DoubleConsumer b, Function<S_IN, DoubleStream> m) { in STREAM_SPLITERATOR() 87 void _run(TestData<T, S_IN> data, DoubleConsumer b, Function<S_IN, DoubleStream> m) { in STREAM_SPLITERATOR_WITH_MIXED_TRAVERSE_AND_SPLIT() 95 void _run(TestData<T, S_IN> data, DoubleConsumer b, Function<S_IN, DoubleStream> m) { in STREAM_SPLITERATOR_FOREACH() 102 void _run(TestData<T, S_IN> data, DoubleConsumer b, Function<S_IN, DoubleStream> m) { in PAR_STREAM_SEQUENTIAL_FOR_EACH() 110 void _run(TestData<T, S_IN> data, DoubleConsumer b, Function<S_IN, DoubleStream> m) { in PAR_STREAM_FOR_EACH_ORDERED() 119 void _run(TestData<T, S_IN> data, DoubleConsumer b, Function<S_IN, DoubleStream> m) { in PAR_STREAM_SPLITERATOR() [all …]
|
D | SpliteratorTestHelper.java | 128 class BoxingAdapter implements Consumer<Double>, DoubleConsumer { in testDoubleSpliterator() 188 … executeAndCatch(NullPointerException.class, () -> psp.forEachRemaining((DoubleConsumer) null)); in testNullPointerException() 189 … executeAndCatch(NullPointerException.class, () -> psp.tryAdvance((DoubleConsumer) null)); in testNullPointerException() 704 static void mixedTraverseAndSplit(DoubleConsumer b, Spliterator.OfDouble splTop) { in mixedTraverseAndSplit()
|
/libcore/ojluni/src/main/java/java/util/ |
D | Spliterator.java | 28 import java.util.function.DoubleConsumer; 772 public interface OfDouble extends OfPrimitive<Double, DoubleConsumer, OfDouble> { 778 boolean tryAdvance(DoubleConsumer action); in tryAdvance() 781 default void forEachRemaining(DoubleConsumer action) { in forEachRemaining() 797 if (action instanceof DoubleConsumer) { in tryAdvance() 798 return tryAdvance((DoubleConsumer) action); in tryAdvance() 804 return tryAdvance((DoubleConsumer) action::accept); in tryAdvance() 821 if (action instanceof DoubleConsumer) { in forEachRemaining() 822 forEachRemaining((DoubleConsumer) action); in forEachRemaining() 828 forEachRemaining((DoubleConsumer) action::accept); in forEachRemaining()
|
D | PrimitiveIterator.java | 28 import java.util.function.DoubleConsumer; 233 public static interface OfDouble extends PrimitiveIterator<Double, DoubleConsumer> { 259 default void forEachRemaining(DoubleConsumer action) { in forEachRemaining() 290 if (action instanceof DoubleConsumer) { in forEachRemaining() 291 forEachRemaining((DoubleConsumer) action); in forEachRemaining() 298 forEachRemaining((DoubleConsumer) action::accept); in forEachRemaining()
|
D | OptionalDouble.java | 27 import java.util.function.DoubleConsumer; 136 public void ifPresent(DoubleConsumer consumer) { in ifPresent()
|
D | DoubleSummaryStatistics.java | 27 import java.util.function.DoubleConsumer; 62 public class DoubleSummaryStatistics implements DoubleConsumer {
|
D | Spliterators.java | 28 import java.util.function.DoubleConsumer; 803 class Adapter implements PrimitiveIterator.OfDouble, DoubleConsumer { in iterator() 880 extends EmptySpliterator<Double, Spliterator.OfDouble, DoubleConsumer> 1192 public void forEachRemaining(DoubleConsumer action) { in forEachRemaining() 1203 public boolean tryAdvance(DoubleConsumer action) { in tryAdvance() 1623 static final class HoldingDoubleConsumer implements DoubleConsumer { 2094 public void forEachRemaining(DoubleConsumer action) { in forEachRemaining() 2100 public boolean tryAdvance(DoubleConsumer action) { in tryAdvance()
|
D | SplittableRandom.java | 29 import java.util.function.DoubleConsumer; 971 public boolean tryAdvance(DoubleConsumer consumer) { in tryAdvance() 982 public void forEachRemaining(DoubleConsumer consumer) { in forEachRemaining()
|
D | Random.java | 29 import java.util.function.DoubleConsumer; 1136 public boolean tryAdvance(DoubleConsumer consumer) { in tryAdvance() 1147 public void forEachRemaining(DoubleConsumer consumer) { in forEachRemaining()
|
/libcore/luni/src/test/java/libcore/java/util/function/ |
D | DoubleConsumerTest.java | 21 import java.util.function.DoubleConsumer; 27 DoubleConsumer one = d -> sb.append("one:" + d + ","); in testAndThen() 28 DoubleConsumer two = d -> sb.append("two:" + d); in testAndThen() 35 DoubleConsumer one = s -> {}; in testAndThen_null()
|
/libcore/ojluni/src/main/java/java/util/function/ |
D | DoubleConsumer.java | 42 public interface DoubleConsumer { interface 63 default DoubleConsumer andThen(DoubleConsumer after) { in andThen()
|
/libcore/ojluni/src/main/java/java/util/stream/ |
D | DoubleStream.java | 39 import java.util.function.DoubleConsumer; 222 DoubleStream peek(DoubleConsumer action); in peek() 296 void forEach(DoubleConsumer action); in forEach() 310 void forEachOrdered(DoubleConsumer action); in forEachOrdered() 849 public interface Builder extends DoubleConsumer {
|
D | DoublePipeline.java | 36 import java.util.function.DoubleConsumer; 98 private static DoubleConsumer adapt(Sink<Double> sink) { in adapt() 99 if (sink instanceof DoubleConsumer) { in adapt() 100 return (DoubleConsumer) sink; in adapt() 159 DoubleConsumer adaptedSink = adapt(sink); in forEachWithCancel() 317 public final DoubleStream peek(DoubleConsumer action) { 370 public void forEach(DoubleConsumer consumer) { 375 public void forEachOrdered(DoubleConsumer consumer) { 560 public void forEach(DoubleConsumer consumer) { 570 public void forEachOrdered(DoubleConsumer consumer) {
|
D | Node.java | 29 import java.util.function.DoubleConsumer; 460 …interface OfDouble extends OfPrimitive<Double, DoubleConsumer, double[], Spliterator.OfDouble, OfD… 472 if (consumer instanceof DoubleConsumer) { in forEach() 473 forEach((DoubleConsumer) consumer); in forEach() 511 for (int i = 0; i < from && spliterator.tryAdvance((DoubleConsumer) e -> { }); i++) { } in truncate() 512 … for (int i = 0; (i < size) && spliterator.tryAdvance((DoubleConsumer) nodeBuilder); i++) { } in truncate()
|
D | Sink.java | 29 import java.util.function.DoubleConsumer; 224 interface OfDouble extends Sink<Double>, DoubleConsumer {
|
D | StreamSpliterators.java | 34 import java.util.function.DoubleConsumer; 472 public boolean tryAdvance(DoubleConsumer consumer) { in tryAdvance() 481 public void forEachRemaining(DoubleConsumer consumer) { in forEachRemaining() 596 extends OfPrimitive<Double, DoubleConsumer, Spliterator.OfDouble> 868 … static final class OfDouble extends OfPrimitive<Double, Spliterator.OfDouble, DoubleConsumer> 887 protected DoubleConsumer emptyConsumer() { in emptyConsumer() 1200 … extends OfPrimitive<Double, DoubleConsumer, ArrayBuffer.OfDouble, Spliterator.OfDouble> 1201 implements Spliterator.OfDouble, DoubleConsumer { 1219 protected void acceptConsumed(DoubleConsumer action) { in acceptConsumed() 1428 public boolean tryAdvance(DoubleConsumer action) { in tryAdvance() [all …]
|
D | ForEachOps.java | 33 import java.util.function.DoubleConsumer; 115 public static TerminalOp<Double, Void> makeDouble(DoubleConsumer action, in makeDouble() 233 final DoubleConsumer consumer; 235 OfDouble(DoubleConsumer consumer, boolean ordered) { in OfDouble()
|
D | SpinedBuffer.java | 36 import java.util.function.DoubleConsumer; 956 extends SpinedBuffer.OfPrimitive<Double, double[], DoubleConsumer> 957 implements DoubleConsumer { 966 if (consumer instanceof DoubleConsumer) { in forEach() 967 forEach((DoubleConsumer) consumer); in forEach() 994 DoubleConsumer consumer) { in arrayForEach() 1037 void arrayForOne(double[] array, int index, DoubleConsumer consumer) { in spliterator()
|
D | Streams.java | 31 import java.util.function.DoubleConsumer; 674 public boolean tryAdvance(DoubleConsumer action) { in tryAdvance() 688 public void forEachRemaining(DoubleConsumer action) { in forEachRemaining() 832 extends ConcatSpliterator.OfPrimitive<Double, DoubleConsumer, Spliterator.OfDouble>
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | OptionalDoubleTest.java | 27 import java.util.function.DoubleConsumer; 52 DoubleConsumer alwaysFails = value -> fail(); in testIfPresent() 56 DoubleConsumer recorder = value -> reference.set(value); in testIfPresent()
|
D | PrimitiveIteratorTest.java | 26 import java.util.function.DoubleConsumer; 196 cit.forEachRemaining((DoubleConsumer) null); in testDoubleIterator_forEachRemaining_Consumer()
|
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/ |
D | TeeOpTest.java | 34 import java.util.function.DoubleConsumer; 138 … class RecordingConsumer extends AbstractRecordingConsumer<Double> implements DoubleConsumer { in testDoubleOps()
|
/libcore/ojluni/src/test/java/util/stream/boottest/java/util/stream/ |
D | NodeBuilderTest.java | 28 import java.util.function.DoubleConsumer; 230 n.forEach((DoubleConsumer) _l::add); in testDoubleIteration()
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | ThreadLocalRandom.java | 43 import java.util.function.DoubleConsumer; 877 public boolean tryAdvance(DoubleConsumer consumer) { in tryAdvance() 888 public void forEachRemaining(DoubleConsumer consumer) { in forEachRemaining()
|