T - type of input objectR - type of output objectpublic interface AsyncFunction<T,R>
| Modifier and Type | Method and Description |
|---|---|
default <U> AsyncFunction<T,U> |
andThen(AsyncFunction<? super R,? extends U> after) |
default <U> AsyncFunction<T,U> |
andThen(Function<? super R,? extends U> after) |
Stage<R> |
apply(T input)
Returns the result of applying this function to input.
|
default AsyncCallable<R> |
asAsyncCallable(T argument) |
default <U> AsyncFunction<U,R> |
compose(AsyncFunction<? super U,? extends T> before) |
default <U> AsyncFunction<U,R> |
compose(Function<? super U,? extends T> before) |
static <T> AsyncFunction<T,T> |
identity() |
static <T,R> AsyncFunction<T,R> |
of(Function<T,R> function) |
default <U> AsyncFunction<U,R> compose(Function<? super U,? extends T> before)
default <U> AsyncFunction<U,R> compose(AsyncFunction<? super U,? extends T> before)
default <U> AsyncFunction<T,U> andThen(Function<? super R,? extends U> after)
default <U> AsyncFunction<T,U> andThen(AsyncFunction<? super R,? extends U> after)
default AsyncCallable<R> asAsyncCallable(T argument)
static <T,R> AsyncFunction<T,R> of(Function<T,R> function)
static <T> AsyncFunction<T,T> identity()
Copyright © 2019. All rights reserved.