Home
last modified time | relevance | path

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

/libcore/jsr166-tests/src/test/java/jsr166/
DCompletableFutureTest.java3117 CompletableFuture<Object> f = CompletableFuture.anyOf(); in testAnyOf_empty()
3133 CompletableFuture<Object> f = CompletableFuture.anyOf(fs); in testAnyOf_normal()
3138 int x = (int) CompletableFuture.anyOf(fs).join(); in testAnyOf_normal()
3148 CompletableFuture<Object> f = CompletableFuture.anyOf(fs); in testAnyOf_normal_backwards()
3153 int x = (int) CompletableFuture.anyOf(fs).join(); in testAnyOf_normal_backwards()
3170 CompletableFuture<Object> f = CompletableFuture.anyOf(fs); in testAnyOf_exceptional()
3175 checkCompletedWithWrappedCFException(CompletableFuture.anyOf(fs)); in testAnyOf_exceptional()
3188 CompletableFuture<Object> f = CompletableFuture.anyOf(fs); in testAnyOf_exceptional_backwards()
3193 checkCompletedWithWrappedCFException(CompletableFuture.anyOf(fs)); in testAnyOf_exceptional_backwards()
3295 () -> CompletableFuture.anyOf((CompletableFuture<?>)null), in testNPE()
[all …]
/libcore/ojluni/src/main/java/java/util/concurrent/
DCompletableFuture.java2270 public static CompletableFuture<Object> anyOf(CompletableFuture<?>... cfs) { in anyOf() method in CompletableFuture