/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/ |
D | ConcatOpTest.java | 68 Stream.iterate(0, i -> i + 1))); in testSize() 71 Stream.iterate(0, i -> i + 1), in testSize() 86 LongStream.iterate(0, i -> i + 1))); in testLongSize() 89 LongStream.iterate(0, i -> i + 1), in testLongSize() 104 IntStream.iterate(0, i -> i + 1))); in testIntSize() 107 IntStream.iterate(0, i -> i + 1), in testIntSize() 122 DoubleStream.iterate(0, i -> i + 1))); in testDoubleSize() 125 DoubleStream.iterate(0, i -> i + 1), in testDoubleSize()
|
D | RangeTest.java | 47 Integer first = Stream.iterate(0, i -> i + 1).filter(i -> i > 10000).findFirst().get(); in testInfiniteRangeFindFirst() 48 …assertEquals(first, Stream.iterate(0, i -> i + 1).parallel().filter(i -> i > 10000).findFirst().ge… in testInfiniteRangeFindFirst() 53 "", () -> Stream.iterate(0, i -> i + 1).filter(i -> i > 10000).limit(20000))). in testInfiniteRangeFindFirst() 138 "int range", () -> IntStream.iterate(0, i -> i + 1).limit(10000))). in testIntInfiniteRangeLimit() 143 int first = IntStream.iterate(0, i -> i + 1).filter(i -> i > 10000).findFirst().getAsInt(); in testIntInfiniteRangeFindFirst() 144 …assertEquals(first, IntStream.iterate(0, i -> i + 1).parallel().filter(i -> i > 10000).findFirst()… in testIntInfiniteRangeFindFirst() 221 "long range", () -> LongStream.iterate(0, i -> i + 1).limit(10000))). in testLongInfiniteRangeLimit() 226 … long first = LongStream.iterate(0, i -> i + 1).filter(i -> i > 10000).findFirst().getAsLong(); in testLongInfiniteRangeFindFirst() 227 …assertEquals(first, LongStream.iterate(0, i -> i + 1).parallel().filter(i -> i > 10000).findFirst(… in testLongInfiniteRangeFindFirst()
|
D | InfiniteStreamWithLimitOpTest.java | 408 "[1L, 2L, 3L, ...]", () -> Stream.iterate(1L, i -> i + 1L)); 421 "[1, 2, 3, ...]", () -> IntStream.iterate(1, i -> i + 1)); 434 "[1L, 2L, 3L, ...]", () -> LongStream.iterate(1, i -> i + 1)); 447 "[1.0, 2.0, 3.0, ...]", () -> DoubleStream.iterate(1, i -> i + 1));
|
D | DoublePrimitiveOpsTests.java | 97 double[] actual = DoubleStream.iterate(1.0, i -> i + 1.0).limit(9).toArray(); in testLimit()
|
D | IntPrimitiveOpsTests.java | 173 int[] actual = IntStream.iterate(1, i -> i + 1).limit(9).toArray(); in testLimit()
|
D | LongPrimitiveOpsTests.java | 173 long[] actual = LongStream.iterate(1, i -> i + 1).limit(9).toArray(); in testLimit()
|
D | DistinctOpTest.java | 72 … Optional<Integer> oi = Stream.iterate(1, i -> i + 1).unordered().parallel().distinct().findAny(); in testWithUnorderedInfiniteStream()
|
/libcore/ojluni/src/test/java/util/stream/ |
D | TestDoubleSumAverage.java | 52 Supplier<DoubleStream> ds = () -> DoubleStream.iterate(0.0, e -> 0.0).limit(10); in testZeroAverageOfNonEmptyStream() 77 Supplier<DoubleStream> ds = () -> DoubleStream.iterate(base, e -> increment).limit(count); in testForCompenstation()
|
/libcore/ojluni/src/main/java/java/util/stream/ |
D | DoubleStream.java | 775 public static DoubleStream iterate(final double seed, final DoubleUnaryOperator f) { in iterate() method
|
D | IntStream.java | 741 public static IntStream iterate(final int seed, final IntUnaryOperator f) { in iterate() method
|
D | LongStream.java | 734 public static LongStream iterate(final long seed, final LongUnaryOperator f) { in iterate() method
|
D | Stream.java | 1020 public static<T> Stream<T> iterate(final T seed, final UnaryOperator<T> f) { in iterate() method
|
/libcore/ojluni/src/main/java/java/util/ |
D | Collections.java | 5384 Collection<?> iterate = c1; 5394 iterate = c2; 5411 iterate = c2; 5416 for (Object e : iterate) {
|