Home
last modified time | relevance | path

Searched refs:asDoubleStream (Results 1 – 22 of 22) sorted by relevance

/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/
DDoublePrimitiveOpsTests.java54 assertTrue(LongStream.range(1, 10).asDoubleStream().boxed().spliterator() in testFlags()
62 double[] array = LongStream.range(1, 10).asDoubleStream().map(i -> i * 2).toArray(); in testToArray()
67 … double[] array = LongStream.range(1, 10).parallel().asDoubleStream().map(i -> i * 2).toArray(); in testToArray()
92 double[] range = LongStream.range(0, 10).asDoubleStream().toArray(); in testSortDistinct()
94 … assertEquals(LongStream.range(0, 10).asDoubleStream().sorted().distinct().toArray(), range); in testSortDistinct()
95 …assertEquals(LongStream.range(0, 10).asDoubleStream().parallel().sorted().distinct().toArray(), ra… in testSortDistinct()
133 … double[] actual = LongStream.range(1, 100).parallel().asDoubleStream().limit(9).toArray(); in testLimit()
DLongPrimitiveOpsTests.java104 assertTrue(LongStream.range(1, 10).asDoubleStream().spliterator() in testFlags()
106 assertFalse(LongStream.range(1, 10).asDoubleStream().spliterator() in testFlags()
108 assertFalse(LongStream.of(1, 10).asDoubleStream().spliterator() in testFlags()
161 assertEquals(LongStream.of(input).sorted().distinct().asDoubleStream() in testSortDistinct()
DMatchOpTest.java362 …assertDoublePredicates(() -> LongStream.range(0, 0).asDoubleStream(), Kind.ANY, DOUBLE_PREDICATES,… in testDoubleStreamMatches()
363 …assertDoublePredicates(() -> LongStream.range(0, 0).asDoubleStream(), Kind.ALL, DOUBLE_PREDICATES,… in testDoubleStreamMatches()
364 …assertDoublePredicates(() -> LongStream.range(0, 0).asDoubleStream(), Kind.NONE, DOUBLE_PREDICATES… in testDoubleStreamMatches()
366 …assertDoublePredicates(() -> LongStream.range(1, 2).asDoubleStream(), Kind.ANY, DOUBLE_PREDICATES,… in testDoubleStreamMatches()
367 …assertDoublePredicates(() -> LongStream.range(1, 2).asDoubleStream(), Kind.ALL, DOUBLE_PREDICATES,… in testDoubleStreamMatches()
368 …assertDoublePredicates(() -> LongStream.range(1, 2).asDoubleStream(), Kind.NONE, DOUBLE_PREDICATES… in testDoubleStreamMatches()
370 …assertDoublePredicates(() -> LongStream.range(1, 6).asDoubleStream(), Kind.ANY, DOUBLE_PREDICATES,… in testDoubleStreamMatches()
371 …assertDoublePredicates(() -> LongStream.range(1, 6).asDoubleStream(), Kind.ALL, DOUBLE_PREDICATES,… in testDoubleStreamMatches()
372 …assertDoublePredicates(() -> LongStream.range(1, 6).asDoubleStream(), Kind.NONE, DOUBLE_PREDICATES… in testDoubleStreamMatches()
DIntPrimitiveOpsTests.java111 assertTrue(IntStream.range(1, 10).asDoubleStream().spliterator() in testFlags()
113 assertFalse(IntStream.of(1, 10).asDoubleStream().spliterator() in testFlags()
115 assertFalse(IntStream.of(1, 10).asDoubleStream().spliterator() in testFlags()
173 assertEquals(IntStream.of(input).sorted().distinct().asDoubleStream() in testSortDistinct()
DStreamBuilderTest.java289 IntStream.range(0, size).asDoubleStream().forEach(sb); in testDoubleAfterBuilding()
302 IntStream.range(0, s).asDoubleStream().forEach(sb); in testDoubleStreamBuilder()
308 IntStream.range(0, s).asDoubleStream().forEach(i -> { in testDoubleStreamBuilder()
322 expectedResult(IntStream.range(0, size).asDoubleStream().toArray()). in testDoubleStreamBuilder()
327 expectedResult(IntStream.range(0, size).asDoubleStream().toArray()). in testDoubleStreamBuilder()
DMinMaxTest.java96 assertEquals(1.0, LongStream.range(1, 1001).asDoubleStream().min().getAsDouble()); in testDoubleMinMax()
97 assertEquals(1000.0, LongStream.range(1, 1001).asDoubleStream().max().getAsDouble()); in testDoubleMinMax()
DFlatMapOpTest.java258 exerciseOps(data, s -> s.flatMap(e -> IntStream.range(0, (int) e).asDoubleStream())); in testDoubleOpsX()
259 … exerciseOps(data, s -> s.flatMap(e -> IntStream.range(0, (int) e).limit(10).asDoubleStream())); in testDoubleOpsX()
265 DoubleStream.of(0).flatMap(i -> IntStream.range(0, 100).asDoubleStream()). in testDoubleOpsShortCircuit()
271 Stream.of(0).flatMapToDouble(i -> IntStream.range(0, 100).asDoubleStream()). in testDoubleOpsShortCircuit()
DExplodeOpTest.java131 exerciseOps(data, s -> s.flatMap(e -> IntStream.range(0, (int) e).asDoubleStream())); in testDoubleOps()
132 … exerciseOps(data, s -> s.flatMap(e -> IntStream.range(0, (int) e).limit(10).asDoubleStream())); in testDoubleOps()
DMapOpTest.java109 exerciseOps(data, s -> s.asDoubleStream()); in testIntOps()
124 exerciseOps(data, s -> s.asDoubleStream()); in testLongOps()
DMapMultiOpTest.java267 …exerciseOps(data, s -> s.mapMulti((e, sink) -> IntStream.range(0, (int) e).asDoubleStream().forEac… in testDoubleOpsX()
268 …, s -> s.mapMulti((e, sink) -> IntStream.range(0, (int) e).limit(10).asDoubleStream().forEach(sink… in testDoubleOpsX()
273 …s -> delegateTo(s).mapMulti((e, sink) -> IntStream.range(0, (int) e).asDoubleStream().forEach(sink… in testDefaultDoubleOpsX()
274 …ateTo(s).mapMulti((e, sink) -> IntStream.range(0, (int) e).limit(10).asDoubleStream().forEach(sink… in testDefaultDoubleOpsX()
DForEachOpTest.java233 … () -> IntStream.range(1, 10001).asDoubleStream());
DStreamSpliteratorTest.java554 …iterator.OfDouble sp = intermediateOp.apply(IntStream.range(0, 1000).asDoubleStream()).spliterator… in testDoubleSplitting()
/libcore/ojluni/src/test/java/util/stream/boottest/java/util/stream/
DSliceSpliteratorTest.java113 …final Collection<Double> source = LongStream.range(0, size).asDoubleStream().boxed().collect(toLi… in sliceSpliteratorDataProvider()
171 …final Collection<Double> source = LongStream.range(0, size).asDoubleStream().boxed().collect(toLi… in sliceSpliteratorDataProvider()
175 … Spliterator.OfDouble s = Arrays.spliterator(LongStream.range(0, SIZE).asDoubleStream().toArray()); in sliceSpliteratorDataProvider()
DSpinedBufferTest.java303 double[] array = LongStream.range(0, size).asDoubleStream().toArray(); in createDoubleSpinedBuffer()
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/
DDefaultMethodStreams.java543 public DoubleStream asDoubleStream() { in asDoubleStream() method in DefaultMethodStreams.DefaultMethodIntStream
544 return s.asDoubleStream(); in asDoubleStream()
744 public DoubleStream asDoubleStream() { in asDoubleStream() method in DefaultMethodStreams.DefaultMethodLongStream
745 return s.asDoubleStream(); in asDoubleStream()
/libcore/ojluni/annotations/flagged_api/java/util/stream/
DIntStream.annotated.java98 public java.util.stream.DoubleStream asDoubleStream(); in asDoubleStream() method
DLongStream.annotated.java96 public java.util.stream.DoubleStream asDoubleStream(); in asDoubleStream() method
/libcore/ojluni/src/main/java/java/util/stream/
DIntStream.java855 DoubleStream asDoubleStream(); in asDoubleStream() method
DLongStream.java844 DoubleStream asDoubleStream(); in asDoubleStream() method
DIntPipeline.java226 public final DoubleStream asDoubleStream() {
DLongPipeline.java208 public final DoubleStream asDoubleStream() {
/libcore/api/
Dcurrent.txt18297 method public java.util.stream.DoubleStream asDoubleStream();
18357 method public java.util.stream.DoubleStream asDoubleStream();