Home
last modified time | relevance | path

Searched refs:failedFuture (Results 1 – 5 of 5) sorted by relevance

/libcore/ojluni/annotations/mmodule/java/util/concurrent/
DCompletableFuture.annotated.java186 public static <U> java.util.concurrent.CompletableFuture<U> failedFuture(java.lang.Throwable ex) { … in failedFuture() method in CompletableFuture
/libcore/jsr166-tests/src/test/java/jsr166/
DCompletableFutureTest.java13 import static java.util.concurrent.CompletableFuture.failedFuture;
3317 () -> CompletableFuture.failedFuture(null), in testNPE()
3385 CompletableFuture<Integer> f = CompletableFuture.failedFuture(ex); in testFailedFuture()
3394 CompletableFuture<Integer> f = CompletableFuture.failedFuture(null); in testFailedFuture_null()
3806 return failedFuture(new ZeroException()); in zero()
/libcore/ojluni/src/test/java/util/concurrent/tck/
DCompletableFutureTest.java40 import static java.util.concurrent.CompletableFuture.failedFuture;
3575 () -> CompletableFuture.failedFuture(null), in testNPE()
3780 CompletableFuture<Item> f = CompletableFuture.failedFuture(ex); in testFailedFuture()
4370 return failedFuture(new ZeroException()); in zero()
/libcore/ojluni/src/main/java/java/util/concurrent/
DCompletableFuture.java2784 public static <U> CompletableFuture<U> failedFuture(Throwable ex) { in failedFuture() method in CompletableFuture
/libcore/api/
Dcurrent.txt15415 method public static <U> java.util.concurrent.CompletableFuture<U> failedFuture(Throwable);