Home
last modified time | relevance | path

Searched refs:supplyAsync (Results 1 – 2 of 2) sorted by relevance

/libcore/ojluni/annotations/mmodule/java/util/concurrent/
DCompletableFuture.annotated.java46 public static <U> java.util.concurrent.CompletableFuture<U> supplyAsync(java.util.function.Supplier… in supplyAsync() method in CompletableFuture
48 public static <U> java.util.concurrent.CompletableFuture<U> supplyAsync(java.util.function.Supplier… in supplyAsync() method in CompletableFuture
/libcore/jsr166-tests/src/test/java/jsr166/
DCompletableFutureTest.java580 public <U> CompletableFuture<U> supplyAsync(Supplier<U> a) {
654 public <U> CompletableFuture<U> supplyAsync(Supplier<U> a) {
655 return CompletableFuture.supplyAsync(a);
727 public <U> CompletableFuture<U> supplyAsync(Supplier<U> a) {
728 return CompletableFuture.supplyAsync(a, new ThreadExecutor());
795 public abstract <U> CompletableFuture<U> supplyAsync(Supplier<U> a);
1246 final CompletableFuture<Integer> f = m.supplyAsync(r); in testSupplyAsync_normalCompletion()
1263 CompletableFuture<Integer> f = m.supplyAsync(r); in testSupplyAsync_exceptionalCompletion()
3208 () -> CompletableFuture.supplyAsync(null), in testNPE()
3209 () -> CompletableFuture.supplyAsync(null, exec), in testNPE()
[all …]