Home
last modified time | relevance | path

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

/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 …]
/libcore/ojluni/src/main/java/java/util/concurrent/
DCompletableFuture.java1839 public static <U> CompletableFuture<U> supplyAsync(Supplier<U> supplier) { in supplyAsync() method in CompletableFuture
1854 public static <U> CompletableFuture<U> supplyAsync(Supplier<U> supplier, in supplyAsync() method in CompletableFuture