Package com.artipie.conan
Class Completables.JoinTuples<K,V>
java.lang.Object
com.artipie.conan.Completables.JoinTuples<K,V>
- Type Parameters:
K
- Key type for the CompletableFuture result value.V
- Type of the result value.
- Enclosing class:
Completables
Converts List of Tuples with CompletableFutures to CompletableFuture providing
list of Tuples.
- Since:
- 0.1
-
Constructor Summary
ConstructorsConstructorDescriptionJoinTuples
(List<io.vavr.Tuple2<K, CompletableFuture<V>>> futures) Initializes instance with the List of Tuples with CompletableFuture. -
Method Summary
Modifier and TypeMethodDescriptionCompletableFuture
<List<io.vavr.Tuple2<K, V>>> toTuples()
Converts to the List of Tuples results inside CompletableFuture.
-
Constructor Details
-
JoinTuples
Initializes instance with the List of Tuples with CompletableFuture.- Parameters:
futures
- List of Tuples with CompletableFuture.
-
-
Method Details
-
toTuples
Converts to the List of Tuples results inside CompletableFuture.- Returns:
- List of Tuples inside CompletableFuture.
-