<U> StateFuture<Tuple2<Boolean,U>> |
StateFuture.thenConditionallyApply(FunctionWithException<? super T,Boolean,? extends Exception> condition,
FunctionWithException<? super T,? extends U,? extends Exception> actionIfTrue) |
Apply a condition test on the result of this StateFuture, and try to perform the action if
test result is true.
|
<U,V> StateFuture<Tuple2<Boolean,Object>> |
StateFuture.thenConditionallyApply(FunctionWithException<? super T,Boolean,? extends Exception> condition,
FunctionWithException<? super T,? extends U,? extends Exception> actionIfTrue,
FunctionWithException<? super T,? extends V,? extends Exception> actionIfFalse) |
Apply a condition test on the result of this StateFuture, and try to perform one action out
of two based on the result.
|
<U> StateFuture<Tuple2<Boolean,U>> |
StateFuture.thenConditionallyCompose(FunctionWithException<? super T,Boolean,? extends Exception> condition,
FunctionWithException<? super T,? extends StateFuture<U>,? extends Exception> actionIfTrue) |
Apply a condition test on the result of this StateFuture, and try to perform the action if
test result is true.
|
<U,V> StateFuture<Tuple2<Boolean,Object>> |
StateFuture.thenConditionallyCompose(FunctionWithException<? super T,Boolean,? extends Exception> condition,
FunctionWithException<? super T,? extends StateFuture<U>,? extends Exception> actionIfTrue,
FunctionWithException<? super T,? extends StateFuture<V>,? extends Exception> actionIfFalse) |
Apply a condition test on the result of this StateFuture, and try to perform one action out
of two based on the result.
|