Class CfTupleUtils

java.lang.Object
io.foldright.cffu2.CfTupleUtils

public final class CfTupleUtils extends Object
This Utility class provides tuple-based variants of methods from CompletableFutureUtils for processing and composing multiple asynchronous actions and CompletableFutures in a type-safe manner.

While CompletableFutureUtils uses array-based methods with varargs, this class uses strongly typed tuples containing 2 to 5 elements. The tuple approach provides better type safety when working with a fixed number of heterogeneous actions or CompletableFutures, as type mismatches are caught at compile time rather than runtime.

Author:
Jerry Lee (oldratlee at gmail dot com), HuHao (995483610 at qq dot com)
See Also: