| 程序包 | 说明 |
|---|---|
| org.skfiy.util.v8 |
| 限定符和类型 | 方法和说明 |
|---|---|
CompletableFuture<Void> |
CompletableFuture.acceptEither(CompletableFuture<? extends T> other,
CompletableFuture.Action<? super T> block)
Creates and returns a CompletableFuture that is completed after
performing the given action with the result of either this or the other
given CompletableFuture's result, when either complete.
|
CompletableFuture<Void> |
CompletableFuture.acceptEitherAsync(CompletableFuture<? extends T> other,
CompletableFuture.Action<? super T> block)
Creates and returns a CompletableFuture that is completed asynchronously
using the
ForkJoinPool.commonPool(), performing the given action
with the result of either this or the other given CompletableFuture's
result, when either complete. |
CompletableFuture<Void> |
CompletableFuture.acceptEitherAsync(CompletableFuture<? extends T> other,
CompletableFuture.Action<? super T> block,
Executor executor)
Creates and returns a CompletableFuture that is completed asynchronously
using the given executor, performing the given action with the result of
either this or the other given CompletableFuture's result, when either
complete.
|
CompletableFuture<Void> |
CompletableFuture.thenAccept(CompletableFuture.Action<? super T> block)
Creates and returns a CompletableFuture that is completed after
performing the given action with this CompletableFuture's result when it
completes.
|
CompletableFuture<Void> |
CompletableFuture.thenAcceptAsync(CompletableFuture.Action<? super T> block)
Creates and returns a CompletableFuture that is asynchronously completed
using the
ForkJoinPool.commonPool() with this CompletableFuture's
result when it completes. |
CompletableFuture<Void> |
CompletableFuture.thenAcceptAsync(CompletableFuture.Action<? super T> block,
Executor executor)
Creates and returns a CompletableFuture that is asynchronously completed
using the given executor with this CompletableFuture's result when it
completes.
|
Copyright © 2013 The Skfiy Open Association. All Rights Reserved.