/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 …]
|
/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/main/java/java/util/ |
D | Spliterator.java | 28 import java.util.function.DoubleConsumer; 790 public interface OfDouble extends OfPrimitive<Double, DoubleConsumer, OfDouble> { 796 boolean tryAdvance(DoubleConsumer action); in tryAdvance() 799 default void forEachRemaining(DoubleConsumer action) { in forEachRemaining() 815 if (action instanceof DoubleConsumer) { in tryAdvance() 816 return tryAdvance((DoubleConsumer) action); in tryAdvance() 822 return tryAdvance((DoubleConsumer) action::accept); in tryAdvance() 839 if (action instanceof DoubleConsumer) { in forEachRemaining() 840 forEachRemaining((DoubleConsumer) action); in forEachRemaining() 846 forEachRemaining((DoubleConsumer) action::accept); in forEachRemaining()
|
D | PrimitiveIterator.java | 28 import java.util.function.DoubleConsumer; 227 public static interface OfDouble extends PrimitiveIterator<Double, DoubleConsumer> { 246 default void forEachRemaining(DoubleConsumer action) { in forEachRemaining() 277 if (action instanceof DoubleConsumer) { in forEachRemaining() 278 forEachRemaining((DoubleConsumer) action); in forEachRemaining() 285 forEachRemaining((DoubleConsumer) action::accept); in forEachRemaining()
|
D | OptionalDouble.java | 27 import java.util.function.DoubleConsumer; 163 public void ifPresent(DoubleConsumer action) { in ifPresent() 181 public void ifPresentOrElse(DoubleConsumer action, Runnable emptyAction) { in ifPresentOrElse()
|
D | DoubleSummaryStatistics.java | 27 import java.util.function.DoubleConsumer; 66 public class DoubleSummaryStatistics implements DoubleConsumer {
|
D | Spliterators.java | 28 import java.util.function.DoubleConsumer; 837 class Adapter implements PrimitiveIterator.OfDouble, DoubleConsumer { in iterator() 865 public void forEachRemaining(DoubleConsumer action) { in iterator() 924 extends EmptySpliterator<Double, Spliterator.OfDouble, DoubleConsumer> 1236 public void forEachRemaining(DoubleConsumer action) { in forEachRemaining() 1247 public boolean tryAdvance(DoubleConsumer action) { in tryAdvance() 1667 static final class HoldingDoubleConsumer implements DoubleConsumer { 2138 public void forEachRemaining(DoubleConsumer action) { in forEachRemaining() 2144 public boolean tryAdvance(DoubleConsumer action) { in tryAdvance()
|
/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 | 36 import java.util.function.DoubleConsumer; 261 DoubleStream peek(DoubleConsumer action); in peek() 468 void forEach(DoubleConsumer action); in forEach() 482 void forEachOrdered(DoubleConsumer action); in forEachOrdered() 1010 public boolean tryAdvance(DoubleConsumer action) { in iterate() 1072 public boolean tryAdvance(DoubleConsumer action) { in iterate() 1092 public void forEachRemaining(DoubleConsumer action) { in iterate() 1177 public interface Builder extends DoubleConsumer { 1244 void accept(double value, DoubleConsumer dc); in accept()
|
D | DoublePipeline.java | 36 import java.util.function.DoubleConsumer; 99 private static DoubleConsumer adapt(Sink<Double> sink) { in adapt() 100 if (sink instanceof DoubleConsumer) { in adapt() 101 return (DoubleConsumer) sink; in adapt() 165 DoubleConsumer adaptedSink = adapt(sink); in forEachWithCancel() 284 DoubleConsumer downstreamAsDouble = downstream::accept; 339 mapper.accept(t, (DoubleConsumer) downstream); 384 public final DoubleStream peek(DoubleConsumer action) { 448 public void forEach(DoubleConsumer consumer) { 453 public void forEachOrdered(DoubleConsumer consumer) { [all …]
|
D | Node.java | 29 import java.util.function.DoubleConsumer; 473 …interface OfDouble extends OfPrimitive<Double, DoubleConsumer, double[], Spliterator.OfDouble, OfD… 485 if (consumer instanceof DoubleConsumer) { in forEach() 486 forEach((DoubleConsumer) consumer); in forEach() 524 for (int i = 0; i < from && spliterator.tryAdvance((DoubleConsumer) e -> { }); i++) { } in truncate() 526 spliterator.forEachRemaining((DoubleConsumer) nodeBuilder); in truncate() 528 … for (int i = 0; i < size && spliterator.tryAdvance((DoubleConsumer) nodeBuilder); i++) { } in truncate()
|
D | StreamSpliterators.java | 34 import java.util.function.DoubleConsumer; 470 public boolean tryAdvance(DoubleConsumer consumer) { in tryAdvance() 479 public void forEachRemaining(DoubleConsumer consumer) { in forEachRemaining() 594 extends OfPrimitive<Double, DoubleConsumer, Spliterator.OfDouble> 866 … static final class OfDouble extends OfPrimitive<Double, Spliterator.OfDouble, DoubleConsumer> 885 protected DoubleConsumer emptyConsumer() { in emptyConsumer() 1202 … extends OfPrimitive<Double, DoubleConsumer, ArrayBuffer.OfDouble, Spliterator.OfDouble> 1203 implements Spliterator.OfDouble, DoubleConsumer { 1221 protected void acceptConsumed(DoubleConsumer action) { in acceptConsumed() 1430 public boolean tryAdvance(DoubleConsumer action) { in tryAdvance() [all …]
|
D | Sink.java | 29 import java.util.function.DoubleConsumer; 225 interface OfDouble extends Sink<Double>, DoubleConsumer {
|
D | ForEachOps.java | 32 import java.util.function.DoubleConsumer; 114 public static TerminalOp<Double, Void> makeDouble(DoubleConsumer action, in makeDouble() 232 final DoubleConsumer consumer; 234 OfDouble(DoubleConsumer consumer, boolean ordered) { in OfDouble()
|
D | SpinedBuffer.java | 36 import java.util.function.DoubleConsumer; 965 extends SpinedBuffer.OfPrimitive<Double, double[], DoubleConsumer> 966 implements DoubleConsumer { 977 if (consumer instanceof DoubleConsumer) { in forEach() 978 forEach((DoubleConsumer) consumer); in forEach() 1005 DoubleConsumer consumer) { in arrayForEach() 1048 void arrayForOne(double[] array, int index, DoubleConsumer consumer) { in spliterator()
|
D | Streams.java | 31 import java.util.function.DoubleConsumer; 666 public boolean tryAdvance(DoubleConsumer action) { in tryAdvance() 680 public void forEachRemaining(DoubleConsumer action) { in forEachRemaining() 824 extends ConcatSpliterator.OfPrimitive<Double, DoubleConsumer, Spliterator.OfDouble>
|
/libcore/luni/src/test/java/libcore/java/util/stream/ |
D | MapMultiTest.java | 31 import java.util.function.DoubleConsumer; 41 private BiConsumer<Double, DoubleConsumer> doubleToId = (e, sink) -> sink.accept(e); 45 private BiConsumer<Double, DoubleConsumer> doubleDevNull = (e, sink) -> {}; 53 private BiConsumer<List<Double>, DoubleConsumer> doubleListFlattener = (list, sink) -> {
|
/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 | SpliteratorsTest.java | 34 import java.util.function.DoubleConsumer; 93 DoubleConsumer alwaysFails = (double value) -> fail(); in testEmptyDoubleSpliterator() 433 doubleSp.forEachRemaining((DoubleConsumer) null); in test_primitive_spliterators_NPE() 439 doubleSp.tryAdvance((DoubleConsumer) null); in test_primitive_spliterators_NPE() 881 public boolean tryAdvance(DoubleConsumer action) { in tryAdvance() 902 assertFalse(spliterator.tryAdvance((DoubleConsumer) value -> { in testAbstractDoubleSpliterator_smallSize() 907 assertTrue(resultSpliterator.tryAdvance(((DoubleConsumer) value -> { in testAbstractDoubleSpliterator_smallSize() 910 assertTrue(resultSpliterator.tryAdvance(((DoubleConsumer) value -> { in testAbstractDoubleSpliterator_smallSize() 931 assertTrue(resultSpliterator.tryAdvance(((DoubleConsumer) value -> { in testAbstractDoubleSpliterator_largeSize() 934 assertTrue(resultSpliterator.tryAdvance(((DoubleConsumer) value -> { in testAbstractDoubleSpliterator_largeSize() [all …]
|
D | PrimitiveIteratorTest.java | 26 import java.util.function.DoubleConsumer; 196 cit.forEachRemaining((DoubleConsumer) null); in testDoubleIterator_forEachRemaining_Consumer()
|
/libcore/ojluni/annotations/flagged_api/java/util/stream/ |
D | DoubleStream.annotated.java | 50 public java.util.stream.DoubleStream peek(java.util.function.DoubleConsumer action); in peek() 62 public void forEach(java.util.function.DoubleConsumer action); in forEach() 64 public void forEachOrdered(java.util.function.DoubleConsumer action); in forEachOrdered() 123 public static interface Builder extends java.util.function.DoubleConsumer { 137 public void accept(double value, java.util.function.DoubleConsumer dc); in accept()
|
/libcore/ojluni/src/test/java/util/Optional/ |
D | BasicDouble.java | 37 import java.util.function.DoubleConsumer; 159 OptionalDouble receiver, DoubleConsumer action, Runnable emptyAction) { in OptionalDouble_ifPresentOrElse() 162 MethodType.methodType(void.class, DoubleConsumer.class, Runnable.class); in OptionalDouble_ifPresentOrElse()
|
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/ |
D | TeeOpTest.java | 34 import java.util.function.DoubleConsumer; 133 … class RecordingConsumer extends AbstractRecordingConsumer<Double> implements DoubleConsumer { in testDoubleOps()
|
/libcore/ojluni/annotations/hiddenapi/java/util/ |
D | Random.java | 237 public boolean tryAdvance(java.util.function.DoubleConsumer consumer) { in tryAdvance() 241 public void forEachRemaining(java.util.function.DoubleConsumer consumer) { in forEachRemaining()
|