Home
last modified time | relevance | path

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

/libcore/ojluni/annotations/mmodule/java/util/concurrent/
DCompletableFuture.annotated.java54 public static <U> java.util.concurrent.CompletableFuture<U> completedFuture(U value) { throw new Ru… in completedFuture() method in CompletableFuture
/libcore/jsr166-tests/src/test/java/jsr166/
DCompletableFutureTest.java12 import static java.util.concurrent.CompletableFuture.completedFuture;
365 CompletableFuture<String> f = CompletableFuture.completedFuture("test");
3650 final CompletableFuture<Integer> v42 = CompletableFuture.completedFuture(42);
3794 return completedFuture(value); in unit()