/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/ |
D | InfiniteStreamWithLimitOpTest.java | 141 return TestData.Factory.ofSupplier( 151 return TestData.Factory.ofIntSupplier( 161 return TestData.Factory.ofLongSupplier( 171 return TestData.Factory.ofDoubleSupplier( 301 return TestData.Factory.ofLongSupplier( 360 TestData.OfRef<Long> generator = TestData.Factory.ofSupplier( 371 TestData.OfInt generator = TestData.Factory.ofIntSupplier( 382 TestData.OfLong generator = TestData.Factory.ofLongSupplier( 393 TestData.OfDouble generator = TestData.Factory.ofDoubleSupplier( 407 TestData.OfRef<Long> iterator = TestData.Factory.ofSupplier( [all …]
|
D | StreamBuilderTest.java | 77 TestData.OfRef<Integer> data = TestData.Factory.ofSupplier("[0, 1)", in testSingleton() 121 TestData.OfRef<Integer> data = TestData.Factory.ofSupplier(String.format("[0, %d)", size), in testStreamBuilder() 139 TestData.OfInt data = TestData.Factory.ofIntSupplier("[0, 1)", in testIntSingleton() 183 TestData.OfInt data = TestData.Factory.ofIntSupplier(String.format("[0, %d)", size), in testIntStreamBuilder() 201 TestData.OfLong data = TestData.Factory.ofLongSupplier("[0, 1)", in testLongSingleton() 245 TestData.OfLong data = TestData.Factory.ofLongSupplier(String.format("[0, %d)", size), in testLongStreamBuilder() 263 … TestData.OfDouble data = TestData.Factory.ofDoubleSupplier("[0, 1)", () -> DoubleStream.of(1)); in testDoubleSingleton() 306 TestData.OfDouble data = TestData.Factory.ofDoubleSupplier(String.format("[0, %d)", size), in testDoubleStreamBuilder()
|
D | RangeTest.java | 52 withData(TestData.Factory.ofSupplier( in testInfiniteRangeFindFirst() 124 return TestData.Factory.ofIntSupplier("int range", () -> IntStream.range(start, end)); in intRangeData() 128 … return TestData.Factory.ofIntSupplier("int rangeClosed", () -> IntStream.rangeClosed(start, end)); in intRangeClosedData() 137 withData(TestData.Factory.ofIntSupplier( in testIntInfiniteRangeLimit() 207 return TestData.Factory.ofLongSupplier("long range", () -> LongStream.range(start, end)); 211 …return TestData.Factory.ofLongSupplier("long rangeClosed", () -> LongStream.rangeClosed(start, end… in longRangeClosedData() 220 withData(TestData.Factory.ofLongSupplier( in testLongInfiniteRangeLimit()
|
D | ForEachOpTest.java | 89 TestData.OfRef<Integer> data = TestData.Factory.ofCollection("[1, 10000]", input); 136 TestData.OfInt data = TestData.Factory.ofIntSupplier("[1, 10000]", 184 TestData.OfLong data = TestData.Factory.ofLongSupplier("[1, 10000]", 232 TestData.OfDouble data = TestData.Factory.ofDoubleSupplier("[1, 10000]",
|
D | ExplodeOpTest.java | 67 … exerciseOps(TestData.Factory.ofArray("stringsArray", stringsArray), s -> s.flatMap(flattenChars)); in testFlatMap() 68 …exerciseOps(TestData.Factory.ofArray("LONG_STRING", new String[] {LONG_STRING}), s -> s.flatMap(fl… in testFlatMap()
|
D | DistinctOpTest.java | 183 TestData<Integer, Stream<Integer>> data = TestData.Factory.ofCollection( in testStable()
|
D | ToArrayOpTest.java | 103 TestData.Factory.ofCollection("", Arrays.asList(1.1, 2.2, 3.4, 4.4)), in testAsArrayWithType()
|
/libcore/ojluni/src/test/java/util/stream/bootlib/java/util/stream/ |
D | StreamTestDataProvider.java | 170 return new Object[] { description, TestData.Factory.ofArray(description, data)}; in arrayDataDescr() 174 return new Object[] { description, TestData.Factory.ofSupplier(description, supplier)}; in streamDataDescr() 178 return new Object[] { description, TestData.Factory.ofCollection(description, data)}; in collectionDataDescr() 182 return new Object[] { description, TestData.Factory.ofSpinedBuffer(description, data)}; in sbDataDescr()
|
D | IntStreamTestDataProvider.java | 87 name, TestData.Factory.ofArray("array:" + name, ints)}); in list.add() 94 TestData.Factory.ofSpinedBuffer("SpinedList:" + name, isl)}); in list.add() 140 return new Object[] { description, TestData.Factory.ofIntSupplier(description, s) }; in streamDataDescr()
|
D | LongStreamTestDataProvider.java | 87 TestData.Factory.ofArray("array:" + name, longs)}); in list.add() 94 TestData.Factory.ofSpinedBuffer("SpinedList:" + name, isl)}); in list.add() 140 return new Object[] { description, TestData.Factory.ofLongSupplier(description, s) }; in streamDataDescr()
|
D | OpTestCase.java | 187 …TestData.OfRef<T> data1 = TestData.Factory.ofCollection("Collection of type " + data.getClass().ge… in exerciseOps() 193 …TestData.OfRef<T> data1 = TestData.Factory.ofCollection("Collection of type " + data.getClass().ge… in exerciseOps() 200 return withData(TestData.Factory.ofArray("int array", data)).stream(m).exercise(); in exerciseOps() 204 TestData.OfInt data1 = TestData.Factory.ofArray("int array", data); in exerciseOps() 597 … = TestData.Factory.ofCollection("Collection of type " + data.getClass().getName(), data); in exerciseTerminalOps()
|
D | TestData.java | 77 public static class Factory { class
|
/libcore/ojluni/src/main/java/java/lang/reflect/ |
D | WeakCache.java | 122 Factory factory = null; in get() 138 factory = new Factory(key, parameter, subKey, valuesMap); in get() 198 private final class Factory implements Supplier<V> { class in WeakCache 205 Factory(K key, P parameter, Object subKey, in Factory() method in WeakCache.Factory
|
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/ |
D | StreamTestDataProvider.java | 176 return new Object[] { description, TestData.Factory.ofArray(description, data)}; in arrayDataDescr() 180 return new Object[] { description, TestData.Factory.ofSupplier(description, supplier)}; in streamDataDescr() 184 return new Object[] { description, TestData.Factory.ofCollection(description, data)}; in collectionDataDescr() 188 return new Object[] { description, TestData.Factory.ofSpinedBuffer(description, data)}; in sbDataDescr()
|
D | LongStreamTestDataProvider.java | 91 TestData.Factory.ofArray("array:" + name, longs)}); in list.add() 98 TestData.Factory.ofSpinedBuffer("SpinedList:" + name, isl)}); in list.add() 144 return new Object[] { description, TestData.Factory.ofLongSupplier(description, s) }; in streamDataDescr()
|
D | DoubleStreamTestDataProvider.java | 92 TestData.Factory.ofArray("array:" + name, doubles)}); in list.add() 99 TestData.Factory.ofSpinedBuffer("SpinedList:" + name, isl)}); in list.add()
|
D | OpTestCase.java | 188 …TestData.OfRef<T> data1 = TestData.Factory.ofCollection("Collection of type " + data.getClass().ge… in exerciseOps() 194 …TestData.OfRef<T> data1 = TestData.Factory.ofCollection("Collection of type " + data.getClass().ge… in exerciseOps() 201 return withData(TestData.Factory.ofArray("int array", data)).stream(m).exercise(); in exerciseOps() 205 TestData.OfInt data1 = TestData.Factory.ofArray("int array", data); in exerciseOps() 598 … = TestData.Factory.ofCollection("Collection of type " + data.getClass().getName(), data); in exerciseTerminalOps()
|
D | TestData.java | 78 public static class Factory { class
|
/libcore/ojluni/src/test/java/util/stream/boottest/java/util/stream/ |
D | FlagOpTest.java | 110 …TestData<Integer, Stream<Integer>> data = TestData.Factory.ofArray("Array", countTo(10).toArray(ne… in testFlagsClearAllSet() 149 …TestData<Integer, Stream<Integer>> data = TestData.Factory.ofArray("Array", countTo(10).toArray(ne… in testFlagsSetAllClear() 183 …TestData<Integer, Stream<Integer>> data = TestData.Factory.ofArray("Array", countTo(10).toArray(ne… in testFlagsSetSequence() 219 …TestData<Integer, Stream<Integer>> data = TestData.Factory.ofArray("Array", countTo(10).toArray(ne… in testFlagsClearSequence() 245 …TestData<Integer, Stream<Integer>> data = TestData.Factory.ofArray("Array", countTo(10).toArray(ne… in testFlagsSizedOrderedParallelCollect()
|
D | LongNodeTest.java | 153 TestData.OfLong data = TestData.Factory.ofNode("Node", n); in testStreams()
|
D | IntNodeTest.java | 153 TestData.OfInt data = TestData.Factory.ofNode("Node", n); in testStreams()
|
D | DoubleNodeTest.java | 153 TestData.OfDouble data = TestData.Factory.ofNode("Node", n); in testStreams()
|
D | NodeTest.java | 129 TestData<Integer, Stream<Integer>> data = TestData.Factory.ofRefNode("Node", n); in testStreams()
|