Package io.activej.async.function
Interface AsyncBiFunction<T,U,R>
- All Superinterfaces:
AsyncBiFunctionEx<T,U, R>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T,U, R> AsyncBiFunction<T, U, R> of(io.activej.common.function.BiFunctionEx<? super T, ? super U, ? extends R> function) Wraps aBiFunctionExinterface.static <T,U, R> AsyncBiFunction<T, U, R> sanitize(AsyncBiFunctionEx<? super T, ? super U, R> function)
-
Method Details
-
apply
- Specified by:
applyin interfaceAsyncBiFunctionEx<T,U, R>
-
of
static <T,U, AsyncBiFunction<T,R> U, ofR> (io.activej.common.function.BiFunctionEx<? super T, ? super U, ? extends R> function) Wraps aBiFunctionExinterface.- Parameters:
function- aBiFunctionEx- Returns:
AsyncBiFunctionthat works on top ofBiFunctionExinterface
-
sanitize
-