Package io.foldright.cffu
@DefaultAnnotation(edu.umd.cs.findbugs.annotations.NonNull.class)
@ParametersAreNonnullByDefault
@ReturnValuesAreNonnullByDefault
package io.foldright.cffu
A tiny sidekick library to make CompletableFuture usage more convenient, more efficient and safer
in your application. 😋🚀🦺
The core classes are Cffu
/CffuFactory
. And the core
util class CompletableFutureUtils
of CompletableFuture
contains the enhanced and backport methods for CompletableFuture
.
- Author:
- Jerry Lee (oldratlee at gmail dot com)
- See Also:
-
ClassDescriptionCffu<T>This class
Cffu
is the equivalent class toCompletableFuture
, contains the equivalent instance methods ofCompletionStage
andCompletableFuture
.This classCffuFactory
is equivalent toCompletableFuture
, contains the static (factory) methods ofCompletableFuture
.This class is the same asFuture.State
, existed for java version compatibility.This class contains the new enhanced and backport methods forCompletableFuture
.Low Level CompletableFuture utility methods for manipulating CompletableFuture.Exception indicates that NO cfs(CompletionStage
, including subclassCffu
/CompletableFuture
) are provided for methods that require cf arguments.