Package | Description |
---|---|
com.aldebaran.qi |
Modifier and Type | Method and Description |
---|---|
<R> Future<R> |
Future.andThenApply(Function<T,R> function)
Launch a task when the task link when this future succeed only
|
<R> Future<R> |
Future.andThenCompose(Function<T,Future<R>> function)
Launch a task when the task link when this future succeed only.
Instead of return a Future |
<U> Optional<U> |
Optional.flatMap(Function<? super T,? extends Optional<? extends U>> mapper) |
<U> Optional<U> |
Optional.map(Function<? super T,? extends U> mapper) |
<R> Future<R> |
Future.thenApply(Function<Future<T>,R> function)
Launch a task when the task link when this future finished (succeed,
error or cancelled)
|
<R> Future<R> |
Future.thenCompose(Function<Future<T>,Future<R>> function)
Launch a task when the task link when this future finished (succeed,
error or cancelled).
Instead of return a Future |
Copyright © 2019. All rights reserved.