Home
last modified time | relevance | path

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

/libcore/jsr166-tests/src/test/java/jsr166/
DCompletableFutureTest.java12 import static java.util.concurrent.CompletableFuture.completedFuture;
13 import static java.util.concurrent.CompletableFuture.failedFuture;
28 import java.util.concurrent.CompletableFuture;
64 void checkIncomplete(CompletableFuture<?> f) { in checkIncomplete()
79 <T> void checkCompletedNormally(CompletableFuture<T> f, T value) { in checkCompletedNormally()
101 <U> Throwable exceptionalCompletion(CompletableFuture<U> f) { in exceptionalCompletion()
107 void checkCompletedExceptionally(CompletableFuture<?> f, in checkCompletedExceptionally()
153 void checkCompletedWithWrappedCFException(CompletableFuture<?> f) {
158 void checkCompletedWithWrappedCancellationException(CompletableFuture<?> f) { in checkCompletedWithWrappedCancellationException()
163 void checkCompletedWithTimeoutException(CompletableFuture<?> f) { in checkCompletedWithTimeoutException()
[all …]
/libcore/ojluni/annotations/mmodule/java/util/concurrent/
DCompletableFuture.annotated.java42 public class CompletableFuture<T> implements java.util.concurrent.Future<T>, java.util.concurrent.C… class
44 public CompletableFuture() { throw new RuntimeException("Stub!"); } in CompletableFuture() method in CompletableFuture
46 public static <U> java.util.concurrent.CompletableFuture<U> supplyAsync(java.util.function.Supplier… in supplyAsync()
48 public static <U> java.util.concurrent.CompletableFuture<U> supplyAsync(java.util.function.Supplier… in supplyAsync()
50 public static java.util.concurrent.CompletableFuture<java.lang.Void> runAsync(java.lang.Runnable ru… in runAsync()
52 public static java.util.concurrent.CompletableFuture<java.lang.Void> runAsync(java.lang.Runnable ru… in runAsync()
54 public static <U> java.util.concurrent.CompletableFuture<U> completedFuture(U value) { throw new Ru… in completedFuture()
70 public <U> java.util.concurrent.CompletableFuture<U> thenApply(java.util.function.Function<? super … in thenApply()
72 public <U> java.util.concurrent.CompletableFuture<U> thenApplyAsync(java.util.function.Function<? s… in thenApplyAsync()
74 public <U> java.util.concurrent.CompletableFuture<U> thenApplyAsync(java.util.function.Function<? s… in thenApplyAsync()
[all …]
/libcore/ojluni/src/main/java/java/util/concurrent/
DCompletionStage.java867 public CompletableFuture<T> toCompletableFuture(); in toCompletableFuture()
/libcore/mmodules/core_platform_api/api/platform/
Dcurrent-api.txt1011 …public class CompletableFuture<T> implements java.util.concurrent.CompletionStage<T> java.util.con…
1012 …method public java.util.concurrent.CompletableFuture<T> completeOnTimeout(T, long, java.util.concu…
1013 method public static <U> java.util.concurrent.CompletableFuture<U> failedFuture(Throwable);
/libcore/
Dopenjdk_java_files.bp929 "ojluni/src/main/java/java/util/concurrent/CompletableFuture.java",