Package io.foldright.cffu
@DefaultAnnotation(edu.umd.cs.findbugs.annotations.NonNull.class)
@ParametersAreNonnullByDefault
@ReturnValuesAreNonnullByDefault
package io.foldright.cffu
A tiny sidekick library for CompletableFuture to improve user experience and reduce misuse.
The core class is Cffu. And utils for CompletableFuture,
the key user class is CompletableFutureUtils
which contains the enhanced and backport methods for CompletableFuture.
- Author:
- Jerry Lee (oldratlee at gmail dot com)
- See Also:
-
ClassDescriptionCffu<T>This class
Cffuis the equivalent class toCompletableFuture, contains the equivalent instance methods ofCompletionStageandCompletableFuture.This classCffuFactoryis 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.Integration with guavaListenableFuture.Exception indicates that NO cfs(Cffu/CompletableFuture) are provided for methods require cf arguments.