Uses of Class
io.foldright.cffu.tuple.Tuple2
Packages that use Tuple2
Package
Description
A tiny 0-dependency sidekick library for CompletableFuture
to improve user experience and reduce misuse.
the
Tuple util classes for Cffu use.-
Uses of Tuple2 in io.foldright.cffu
Methods in io.foldright.cffu that return types with arguments of type Tuple2Modifier and TypeMethodDescriptionCffu.cffuCombine(Cffu<T2> cf2) Same asCffuFactory.cffuCombine(Cffu, Cffu), providing this method is convenient for method chaining.Cffu.cffuCombine(CompletableFuture<T2> cf2) Same asCffuFactory.cffuCombine(CompletableFuture, CompletableFuture), providing this method is convenient for method chaining.CffuFactory.cffuCombine(Cffu<T1> cf1, Cffu<T2> cf2) Returns a new Cffu that is completed when the given two Cffus complete.CffuFactory.cffuCombine(CompletableFuture<T1> cf1, CompletableFuture<T2> cf2) Returns a new Cffu that is completed when the given two CompletableFutures complete.static <T1,T2> CompletableFuture<Tuple2<T1, T2>> CompletableFutureUtils.combine(CompletableFuture<T1> cf1, CompletableFuture<T2> cf2) Returns a new CompletableFuture that is completed when the given two CompletableFutures complete. -
Uses of Tuple2 in io.foldright.cffu.tuple
Methods in io.foldright.cffu.tuple that return Tuple2