Home
last modified time | relevance | path

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

12

/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/
DSpliteratorTest.java48 public void testSpliterator(String name, Supplier<Spliterator<Integer>> supplier) { in testSpliterator()
53 public void testIntSpliterator(String name, Supplier<Spliterator.OfInt> supplier) { in testIntSpliterator()
58 public void testLongSpliterator(String name, Supplier<Spliterator.OfLong> supplier) { in testLongSpliterator()
63 public void testDoubleSpliterator(String name, Supplier<Spliterator.OfDouble> supplier) { in testDoubleSpliterator()
DStreamBuilderTest.java120 private void testStreamBuilder(int size, Function<Integer, Stream<Integer>> supplier) { in testStreamBuilder()
182 private void testIntStreamBuilder(int size, Function<Integer, IntStream> supplier) { in testIntStreamBuilder()
244 private void testLongStreamBuilder(int size, Function<Integer, LongStream> supplier) { in testLongStreamBuilder()
305 private void testDoubleStreamBuilder(int size, Function<Integer, DoubleStream> supplier) { in testDoubleStreamBuilder()
/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()
DCollectors.java148 private final Supplier<A> supplier; field in CollectorImpl
154 CollectorImpl(Supplier<A> supplier, in CollectorImpl()
166 CollectorImpl(Supplier<A> supplier, in CollectorImpl()
179 public Supplier<A> supplier() { in supplier() method in CollectorImpl
DCollector.java203 Supplier<A> supplier(); in supplier() method
260 public static<T, R> Collector<T, R, R> of(Supplier<R> supplier, in of()
291 public static<T, A, R> Collector<T, A, R> of(Supplier<A> supplier, in of()
DReferencePipeline.java119 Supplier<Spliterator<P_IN>> supplier, in wrap()
126 … 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()
DStreamSpliterators.java326 Supplier<Spliterator<P_IN>> supplier, in IntWrappingSpliterator()
384 Supplier<Spliterator<P_IN>> supplier, in LongWrappingSpliterator()
442 Supplier<Spliterator<P_IN>> supplier, in DoubleWrappingSpliterator()
503 private final Supplier<? extends T_SPLITR> supplier; field in StreamSpliterators.AbstractWrappingSpliterator.DelegatingSpliterator
507 DelegatingSpliterator(Supplier<? extends T_SPLITR> supplier) { in DelegatingSpliterator()
562 OfPrimitive(Supplier<? extends T_SPLITR> supplier) { in OfPrimitive()
581 OfInt(Supplier<Spliterator.OfInt> supplier) { in OfInt()
590 OfLong(Supplier<Spliterator.OfLong> supplier) { in OfLong()
599 OfDouble(Supplier<Spliterator.OfDouble> supplier) { in OfDouble()
DAbstractPipeline.java597 Supplier<Spliterator<P_IN>> supplier, in wrap()
606 …public abstract Spliterator<E_OUT> lazySpliterator(Supplier<? extends Spliterator<E_OUT>> supplier in lazySpliterator()
DDoubleStream.java453 <R> R collect(Supplier<R> supplier, in collect()
/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()
DStreamTestDataProvider.java179 static <T> Object[] streamDataDescr(String description, Supplier<Stream<T>> supplier) { in streamDataDescr()
/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()
DStreamTestDataProvider.java173 static <T> Object[] streamDataDescr(String description, Supplier<Stream<T>> supplier) { in streamDataDescr()
/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/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/main/java/java/lang/reflect/
DWeakCache.java121 Supplier<V> supplier = valuesMap.get(subKey); in get() local
216 Supplier<V> supplier = valuesMap.get(subKey); in get() local
/libcore/ojluni/src/main/java/java/lang/
DThreadLocal.java140 public static <S> ThreadLocal<S> withInitial(Supplier<? extends S> supplier) { in withInitial()
276 private final Supplier<? extends T> supplier; field in ThreadLocal.SuppliedThreadLocal
278 SuppliedThreadLocal(Supplier<? extends T> supplier) { in SuppliedThreadLocal()
/libcore/ojluni/annotations/mmodule/java/util/concurrent/
DCompletableFuture.annotated.java46 …U> java.util.concurrent.CompletableFuture<U> supplyAsync(java.util.function.Supplier<U> supplier) … in supplyAsync()
48 …U> java.util.concurrent.CompletableFuture<U> supplyAsync(java.util.function.Supplier<U> supplier, … in supplyAsync()
172 ….util.concurrent.CompletableFuture<T> completeAsync(java.util.function.Supplier<? extends T> suppl… in completeAsync()
174 ….util.concurrent.CompletableFuture<T> completeAsync(java.util.function.Supplier<? extends T> suppl… in completeAsync()
/libcore/ojluni/annotations/sdk/nullability/java/util/
DObjects.annotated.java60 …@libcore.util.Nullable T obj, @libcore.util.NonNull java.util.function.Supplier<? extends @libcore… in requireNonNullElseGet()
/libcore/ojluni/src/main/java/java/util/
DObjects.java318 public static <T> T requireNonNullElseGet(T obj, Supplier<? extends T> supplier) { in requireNonNullElseGet()

12