| 程序包 | 说明 |
|---|---|
| org.skfiy.util.v8 |
| 限定符和类型 | 方法和说明 |
|---|---|
<U> CompletableFuture<Void> |
CompletableFuture.thenAcceptBoth(CompletableFuture<? extends U> other,
CompletableFuture.BiAction<? super T,? super U> block)
Creates and returns a CompletableFuture that is completed with the
results of this and the other given CompletableFuture if both complete.
|
<U> CompletableFuture<Void> |
CompletableFuture.thenAcceptBothAsync(CompletableFuture<? extends U> other,
CompletableFuture.BiAction<? super T,? super U> block)
Creates and returns a CompletableFuture that is completed asynchronously
using the
ForkJoinPool.commonPool() with the results of this and
the other given CompletableFuture when both complete. |
<U> CompletableFuture<Void> |
CompletableFuture.thenAcceptBothAsync(CompletableFuture<? extends U> other,
CompletableFuture.BiAction<? super T,? super U> block,
Executor executor)
Creates and returns a CompletableFuture that is completed asynchronously
using the given executor with the results of this and the other given
CompletableFuture when both complete.
|
Copyright © 2013 The Skfiy Open Association. All Rights Reserved.