Home
last modified time | relevance | path

Searched refs:toCompletableFuture (Results 1 – 7 of 7) sorted by relevance

/libcore/ojluni/src/test/java/util/concurrent/tck/
DCompletableFutureTest.java3725 assertSame(f, f.toCompletableFuture()); in testToCompletableFuture()
4246 CompletableFuture<Item> g = minimal.toCompletableFuture(); in testMinimalCompletionStage_toCompletableFuture_normalCompletion()
4267 CompletableFuture<Item> g = minimal.toCompletableFuture(); in testMinimalCompletionStage_toCompletableFuture_exceptionalCompletion()
4285 CompletableFuture<Item> g = minimal.toCompletableFuture(); in testMinimalCompletionStage_toCompletableFuture_mutable()
4289 checkIncomplete(minimal.toCompletableFuture()); in testMinimalCompletionStage_toCompletableFuture_mutable()
4303 mustEqual(v1, minimal.toCompletableFuture().join()); in testMinimalCompletionStage_toCompletableFuture_join()
4304 mustEqual(v1, minimal.toCompletableFuture().get()); in testMinimalCompletionStage_toCompletableFuture_join()
4305 checkCompletedNormally(minimal.toCompletableFuture(), v1); in testMinimalCompletionStage_toCompletableFuture_join()
4315 assertTrue(g.toCompletableFuture().complete(itemOne)); in testMinimalCompletionStage_toCompletableFuture_oneWayPropagation()
4316 assertTrue(g.toCompletableFuture().complete(null)); in testMinimalCompletionStage_toCompletableFuture_oneWayPropagation()
[all …]
/libcore/ojluni/src/main/java/java/util/concurrent/
DCompletableFuture.java1016 CompletableFuture<T> g = f.apply(x).toCompletableFuture(); in tryFire()
1050 CompletableFuture<T> g = f.apply(x).toCompletableFuture(); in uniComposeExceptionallyStage()
1126 CompletableFuture<V> g = f.apply(t).toCompletableFuture(); in tryFire()
1163 CompletableFuture<V> g = f.apply(t).toCompletableFuture(); in uniComposeStage()
1299 if (f == null || (b = o.toCompletableFuture()) == null) in biApplyStage()
1375 if (f == null || (b = o.toCompletableFuture()) == null) in biAcceptStage()
1438 if (f == null || (b = o.toCompletableFuture()) == null) in biRunStage()
1571 if (f == null || (b = o.toCompletableFuture()) == null) in orApplyStage()
1625 if (f == null || (b = o.toCompletableFuture()) == null) in orAcceptStage()
1676 if (f == null || (b = o.toCompletableFuture()) == null) in orRunStage()
[all …]
DCompletionStage.java987 public CompletableFuture<T> toCompletableFuture(); in toCompletableFuture() method
/libcore/luni/src/test/java/libcore/java/util/concurrent/
DCompletionStageTest.java290 public CompletableFuture<T> toCompletableFuture() { in toCompletableFuture() method in CompletionStageTest.BaseStage
/libcore/ojluni/annotations/mmodule/java/util/concurrent/
DCompletableFuture.annotated.java142 public java.util.concurrent.CompletableFuture<T> toCompletableFuture() { throw new RuntimeException… in toCompletableFuture() method in CompletableFuture
/libcore/jsr166-tests/src/test/java/jsr166/
DCompletableFutureTest.java3330 assertSame(f, f.toCompletableFuture()); in testToCompletableFuture()
/libcore/api/
Dcurrent.txt14995 method public java.util.concurrent.CompletableFuture<T> toCompletableFuture();
15059 method public java.util.concurrent.CompletableFuture<T> toCompletableFuture();