/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/ |
D | DoublePrimitiveOpsTests.java | 54 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()
|
D | LongPrimitiveOpsTests.java | 104 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()
|
D | MatchOpTest.java | 362 …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()
|
D | IntPrimitiveOpsTests.java | 111 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()
|
D | StreamBuilderTest.java | 289 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()
|
D | MinMaxTest.java | 96 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()
|
D | FlatMapOpTest.java | 258 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()
|
D | ExplodeOpTest.java | 131 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()
|
D | MapOpTest.java | 109 exerciseOps(data, s -> s.asDoubleStream()); in testIntOps() 124 exerciseOps(data, s -> s.asDoubleStream()); in testLongOps()
|
D | MapMultiOpTest.java | 267 …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()
|
D | ForEachOpTest.java | 233 … () -> IntStream.range(1, 10001).asDoubleStream());
|
D | StreamSpliteratorTest.java | 554 …iterator.OfDouble sp = intermediateOp.apply(IntStream.range(0, 1000).asDoubleStream()).spliterator… in testDoubleSplitting()
|
/libcore/ojluni/src/test/java/util/stream/boottest/java/util/stream/ |
D | SliceSpliteratorTest.java | 113 …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()
|
D | SpinedBufferTest.java | 303 double[] array = LongStream.range(0, size).asDoubleStream().toArray(); in createDoubleSpinedBuffer()
|
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/ |
D | DefaultMethodStreams.java | 543 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/ |
D | IntStream.annotated.java | 98 public java.util.stream.DoubleStream asDoubleStream(); in asDoubleStream() method
|
D | LongStream.annotated.java | 96 public java.util.stream.DoubleStream asDoubleStream(); in asDoubleStream() method
|
/libcore/ojluni/src/main/java/java/util/stream/ |
D | IntStream.java | 855 DoubleStream asDoubleStream(); in asDoubleStream() method
|
D | LongStream.java | 844 DoubleStream asDoubleStream(); in asDoubleStream() method
|
D | IntPipeline.java | 226 public final DoubleStream asDoubleStream() {
|
D | LongPipeline.java | 208 public final DoubleStream asDoubleStream() {
|
/libcore/api/ |
D | current.txt | 18297 method public java.util.stream.DoubleStream asDoubleStream(); 18357 method public java.util.stream.DoubleStream asDoubleStream();
|