Home
last modified time | relevance | path

Searched defs:supplier (Results 1 – 25 of 47) sorted by relevance

12

/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/
DSpliteratorTest.java50 public void testSpliterator(String name, Supplier<Spliterator<Integer>> supplier) { in testSpliterator()
55 public void testIntSpliterator(String name, Supplier<Spliterator.OfInt> supplier) { in testIntSpliterator()
60 public void testLongSpliterator(String name, Supplier<Spliterator.OfLong> supplier) { in testLongSpliterator()
65 public void testDoubleSpliterator(String name, Supplier<Spliterator.OfDouble> supplier) { in testDoubleSpliterator()
DCountTest.java196 … private void checkStreamDoesNotConsumeElements(Supplier<Stream<?>> supplier, long expectedCount) { in checkStreamDoesNotConsumeElements()
205 …private void checkIntStreamDoesNotConsumeElements(Supplier<IntStream> supplier, long expectedCount… in checkIntStreamDoesNotConsumeElements()
214 …private void checkLongStreamDoesNotConsumeElements(Supplier<LongStream> supplier, long expectedCou… in checkLongStreamDoesNotConsumeElements()
223 …private void checkDoubleStreamDoesNotConsumeElements(Supplier<DoubleStream> supplier, long expecte… in checkDoubleStreamDoesNotConsumeElements()
DStreamBuilderTest.java128 private void testStreamBuilder(int size, Function<Integer, Stream<Integer>> supplier) { in testStreamBuilder()
191 private void testIntStreamBuilder(int size, Function<Integer, IntStream> supplier) { in testIntStreamBuilder()
254 private void testLongStreamBuilder(int size, Function<Integer, LongStream> supplier) { in testLongStreamBuilder()
316 private void testDoubleStreamBuilder(int size, Function<Integer, DoubleStream> supplier) { in testDoubleStreamBuilder()
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/
DSpliteratorTestHelper.java48 public static void testSpliterator(Supplier<Spliterator<Integer>> supplier) { in testSpliterator()
52 public static void testSpliterator(Supplier<Spliterator<Integer>> supplier, in testSpliterator()
57 public static void testIntSpliterator(Supplier<Spliterator.OfInt> supplier) { in testIntSpliterator()
61 public static void testIntSpliterator(Supplier<Spliterator.OfInt> supplier, in testIntSpliterator()
66 public static void testLongSpliterator(Supplier<Spliterator.OfLong> supplier) { in testLongSpliterator()
70 public static void testLongSpliterator(Supplier<Spliterator.OfLong> supplier, in testLongSpliterator()
75 public static void testDoubleSpliterator(Supplier<Spliterator.OfDouble> supplier) { in testDoubleSpliterator()
79 public static void testDoubleSpliterator(Supplier<Spliterator.OfDouble> supplier, in testDoubleSpliterator()
150 public static <T, S extends Spliterator<T>> void testSpliterator(Supplier<S> supplier, in testSpliterator()
173 Supplier<S> supplier, in testForEach()
[all …]
/libcore/ojluni/src/main/java/java/util/stream/
DStreamSupport.java107 public static <T> Stream<T> stream(Supplier<? extends Spliterator<T>> supplier, in stream()
175 public static IntStream intStream(Supplier<? extends Spliterator.OfInt> supplier, in intStream()
243 public static LongStream longStream(Supplier<? extends Spliterator.OfLong> supplier, in longStream()
311 public static DoubleStream doubleStream(Supplier<? extends Spliterator.OfDouble> supplier, in doubleStream()
DCollector.java207 Supplier<A> supplier(); in supplier() method
264 public static<T, R> Collector<T, R, R> of(Supplier<R> supplier, in of()
295 public static<T, A, R> Collector<T, A, R> of(Supplier<A> supplier, in of()
DReferencePipeline.java123 Supplier<Spliterator<P_IN>> supplier, in wrap()
130 … public final Spliterator<P_OUT> lazySpliterator(Supplier<? extends Spliterator<P_OUT>> supplier) { in lazySpliterator()
DIntPipeline.java152 Supplier<Spliterator<P_IN>> supplier, in wrap()
160 …public final Spliterator.OfInt lazySpliterator(Supplier<? extends Spliterator<Integer>> supplier) { in lazySpliterator()
DLongPipeline.java150 Supplier<Spliterator<P_IN>> supplier, in wrap()
158 … public final Spliterator.OfLong lazySpliterator(Supplier<? extends Spliterator<Long>> supplier) { in lazySpliterator()
DDoublePipeline.java149 Supplier<Spliterator<P_IN>> supplier, in wrap()
157 …public final Spliterator.OfDouble lazySpliterator(Supplier<? extends Spliterator<Double>> supplier in lazySpliterator()
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/
DSpliteratorTestHelper.java59 public static void testSpliterator(Supplier<Spliterator<Integer>> supplier) { in testSpliterator()
63 public static void testSpliterator(Supplier<Spliterator<Integer>> supplier, in testSpliterator()
68 public static void testIntSpliterator(Supplier<Spliterator.OfInt> supplier) { in testIntSpliterator()
72 public static void testIntSpliterator(Supplier<Spliterator.OfInt> supplier, in testIntSpliterator()
95 public static void testLongSpliterator(Supplier<Spliterator.OfLong> supplier) { in testLongSpliterator()
99 public static void testLongSpliterator(Supplier<Spliterator.OfLong> supplier, in testLongSpliterator()
122 public static void testDoubleSpliterator(Supplier<Spliterator.OfDouble> supplier) { in testDoubleSpliterator()
126 public static void testDoubleSpliterator(Supplier<Spliterator.OfDouble> supplier, in testDoubleSpliterator()
149 static <T, S extends Spliterator<T>> void testSpliterator(Supplier<S> supplier, in testSpliterator()
199 Supplier<S> supplier, in testForEach()
[all …]
DTestData.java97 public static <T> OfRef<T> ofSupplier(String name, Supplier<Stream<T>> supplier) { in ofSupplier()
127 public static OfInt ofIntSupplier(String name, Supplier<IntStream> supplier) { in ofIntSupplier()
158 public static OfLong ofLongSupplier(String name, Supplier<LongStream> supplier) { in ofLongSupplier()
189 public static OfDouble ofDoubleSupplier(String name, Supplier<DoubleStream> supplier) { in ofDoubleSupplier()
/libcore/ojluni/src/test/java/util/stream/bootlib/java/util/stream/
DSpliteratorTestHelper.java59 public static void testSpliterator(Supplier<Spliterator<Integer>> supplier) { in testSpliterator()
63 public static void testSpliterator(Supplier<Spliterator<Integer>> supplier, in testSpliterator()
68 public static void testIntSpliterator(Supplier<Spliterator.OfInt> supplier) { in testIntSpliterator()
72 public static void testIntSpliterator(Supplier<Spliterator.OfInt> supplier, in testIntSpliterator()
95 public static void testLongSpliterator(Supplier<Spliterator.OfLong> supplier) { in testLongSpliterator()
99 public static void testLongSpliterator(Supplier<Spliterator.OfLong> supplier, in testLongSpliterator()
122 public static void testDoubleSpliterator(Supplier<Spliterator.OfDouble> supplier) { in testDoubleSpliterator()
126 public static void testDoubleSpliterator(Supplier<Spliterator.OfDouble> supplier, in testDoubleSpliterator()
149 static <T, S extends Spliterator<T>> void testSpliterator(Supplier<S> supplier, in testSpliterator()
199 Supplier<S> supplier, in testForEach()
[all …]
DTestData.java96 public static <T> OfRef<T> ofSupplier(String name, Supplier<Stream<T>> supplier) { in ofSupplier()
126 public static OfInt ofIntSupplier(String name, Supplier<IntStream> supplier) { in ofIntSupplier()
157 public static OfLong ofLongSupplier(String name, Supplier<LongStream> supplier) { in ofLongSupplier()
188 public static OfDouble ofDoubleSupplier(String name, Supplier<DoubleStream> supplier) { in ofDoubleSupplier()
/libcore/ojluni/src/test/java/util/Collection/
DCollectionDefaults.java148 …@SuppressWarnings("unchecked") final CollectionSupplier<Collection<Integer>> supplier = new Collec… in testForEach() local
182 …@SuppressWarnings("unchecked") final CollectionSupplier<Collection<Integer>> supplier = new Collec… in testRemoveIf() local
/libcore/ojluni/src/test/java/util/PriorityQueue/
DAddNonComparable.java56 static <E> void test(Queue<E> queue, Supplier<E> supplier, in test()
101 static <E> void test(SortedSet<E> set, Supplier<E> supplier, in test()
135 static <K> void test(SortedMap<K,Boolean> map, Supplier<K> supplier, in test()
/libcore/ojluni/src/test/java/util/Collections/
DCheckedMapBash.java59 public static void testCheckedMap(String description, Supplier<Map<Integer,Integer>> supplier) { in testCheckedMap() argument
113 … public static void testCheckedMap2(String description, Supplier<Map<Integer,Integer>> supplier) { in testCheckedMap2() argument
DCheckedSetBash.java59 public static void testCheckedSet(String description, Supplier<Set<Integer>> supplier) { in testCheckedSet()
123 static <T> Set<T> clone(Set<T> s, Supplier<Set<T>> supplier) { in clone()
/libcore/ojluni/annotations/sdk/nullability/java/lang/
DThreadLocal.annotated.java40 …NonNull java.util.function.Supplier<? extends S> supplier) { throw new RuntimeException("Stub!"); } in withInitial()
/libcore/ojluni/src/test/java/lang/ref/
DCleanerTest.java98 public void testCleanableActions(Supplier<Cleaner> supplier) { in testCleanableActions()
119 public void testSystemCleanerActions(Supplier<Cleaner> supplier) { in testSystemCleanerActions()
142 public void testRefSubtypes(Supplier<Cleaner> supplier) { in testRefSubtypes()
281 public void testCleanerTermination(Supplier<Cleaner> supplier) { in testCleanerTermination()
571 public void testReferentNotAvailable(Supplier<Cleaner> supplier) { in testReferentNotAvailable()
/libcore/ojluni/annotations/hiddenapi/java/lang/
DThreadLocal.java46 java.util.function.Supplier<? extends S> supplier) { in withInitial()
97 SuppliedThreadLocal(java.util.function.Supplier<? extends T> supplier) { in SuppliedThreadLocal()
105 private final java.util.function.Supplier<? extends T> supplier; field in ThreadLocal.SuppliedThreadLocal
/libcore/ojluni/src/test/java/util/Collection/testlibrary/
DCollectionSupplier.java65 public Function<Collection<Integer>, C> supplier; field in CollectionSupplier.TestCase
83 public TestCase(String name, Function<Collection<Integer>, C> supplier, C collection) { in TestCase()
DExtendsAbstractList.java49 protected ExtendsAbstractList(Supplier<List<E>> supplier) { in ExtendsAbstractList()
/libcore/ojluni/src/main/java/java/util/
DOptional.java307 public Optional<T> or(Supplier<? extends Optional<? extends T>> supplier) { in or()
363 public T orElseGet(Supplier<? extends T> supplier) { in orElseGet()
/libcore/ojluni/src/main/java/java/util/random/
DRandomGeneratorFactory.java176 Class<T> clazz, Supplier<T> supplier) { in entryFor()

12