Uses of Class
io.foldright.cffu.tuple.Tuple2
Packages that use Tuple2
Package
Description
A tiny 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.allTupleOf(CompletionStage<? extends T2> cf2) This method is the same asCffuFactory.allTupleOf(CompletionStage, CompletionStage), providing this method is convenient for method chaining.CffuFactory.allTupleOf(CompletionStage<? extends T1> cf1, CompletionStage<? extends T2> cf2) Returns a new Cffu that is completed when the given two CompletableFutures complete.static <T1,T2> CompletableFuture <Tuple2<T1, T2>> CompletableFutureUtils.allTupleOf(CompletionStage<? extends T1> cf1, CompletionStage<? extends T2> cf2) Returns a new CompletableFuture that is completed when the given two CompletableFutures complete.Cffu.allTupleOfFastFail(CompletionStage<? extends T2> cf2) This method is the same asCffuFactory.allTupleOfFastFail(CompletionStage, CompletionStage), providing this method is convenient for method chaining.CffuFactory.allTupleOfFastFail(CompletionStage<? extends T1> cf1, CompletionStage<? extends T2> cf2) Returns a new Cffu that is successful when the given two CompletableFutures success.static <T1,T2> CompletableFuture <Tuple2<T1, T2>> CompletableFutureUtils.allTupleOfFastFail(CompletionStage<? extends T1> cf1, CompletionStage<? extends T2> cf2) Returns a new CompletableFuture that is successful when the given two CompletableFutures success. -
Uses of Tuple2 in io.foldright.cffu.tuple
Methods in io.foldright.cffu.tuple that return Tuple2