Package io.activej.promise
Class AbstractPromise.PromiseCombine<T,V,U>
java.lang.Object
io.activej.promise.AbstractPromise<R>
io.activej.promise.NextPromise<T,V>
io.activej.promise.AbstractPromise.PromiseCombine<T,V,U>
- All Implemented Interfaces:
AsyncComputation<V>,Callback<V>,Promise<V>,SettableCallback<V>
- Enclosing class:
- AbstractPromise<T>
-
Nested Class Summary
Nested classes/interfaces inherited from class io.activej.promise.AbstractPromise
AbstractPromise.EitherPromise<T>, AbstractPromise.PromiseBoth<T>, AbstractPromise.PromiseCombine<T,V, U> -
Field Summary
Fields inherited from class io.activej.promise.AbstractPromise
exception, next, result -
Method Summary
Modifier and TypeMethodDescriptionvoidacceptNext(T result, @Nullable Exception e) voidacceptOther(U result, @Nullable Exception e) describe()Methods inherited from class io.activej.promise.NextPromise
set, set, setException, trySet, trySet, trySetExceptionMethods inherited from class io.activej.promise.AbstractPromise
async, both, combine, complete, complete, completeExceptionally, either, getException, getResult, getTry, isComplete, isException, isResult, map, map, map, mapException, mapException, next, recycleToVoid, reset, resetCallbacks, subscribe, then, then, then, then, thenCallback, thenCallback, thenCallback, thenCallback, toCompletableFuture, toString, toTry, toVoid, tryComplete, tryComplete, tryCompleteExceptionally, whenComplete, whenComplete, whenComplete, whenException, whenException, whenException, whenException, whenResult, whenResultMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface io.activej.promise.SettableCallback
accept, isComplete
-
Method Details
-
acceptNext
- Specified by:
acceptNextin classNextPromise<T,V>
-
acceptOther
-
describe
- Overrides:
describein classAbstractPromise<V>
-