Package io.activej.promise
Class CompleteResultPromise<T>
- java.lang.Object
-
- io.activej.promise.CompletePromise<T>
-
- io.activej.promise.CompleteResultPromise<T>
-
- Type Parameters:
T- type of the result
- All Implemented Interfaces:
AsyncComputation<T>,Promisable<T>,Promise<T>
public final class CompleteResultPromise<T> extends CompletePromise<T>
Represents aCompletePromisewith a result of unspecified type.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface io.activej.promise.Promise
Promise.BlockingCallable<V>, Promise.BlockingRunnable
-
-
Constructor Summary
Constructors Constructor Description CompleteResultPromise(T result)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TgetResult()-
Methods inherited from class io.activej.promise.CompletePromise
async, both, combine, either, getException, getTry, isComplete, isException, isResult, map, mapEx, next, then, then, thenEx, toCompletableFuture, toTry, toVoid, whenComplete, whenComplete, whenException, whenException, whenResult, whenResult
-
-