| Package | Description |
|---|---|
| io.smallrye.mutiny.unchecked |
| Modifier and Type | Method and Description |
|---|---|
default <V> UncheckedFunction<T,V> |
UncheckedFunction.andThen(UncheckedFunction<? super R,? extends V> after)
Returns a composed function that first applies this function to
its input, and then applies the
after function to the result. |
default <V> UncheckedFunction<V,R> |
UncheckedFunction.compose(UncheckedFunction<? super V,? extends T> before)
Returns a composed function that first applies the
before
function to its input, and then applies this function to the result. |
static <T,R> UncheckedFunction<T,R> |
UncheckedFunction.from(Function<T,R> function)
Creates a
UncheckedBiConsumer from an existing Function |
static <T,R> UncheckedFunction<T,R> |
Unchecked.unchecked(Function<T,R> function)
Transforms the given function into a version that can throw exceptions.
|
| Modifier and Type | Method and Description |
|---|---|
default <V> UncheckedFunction<T,V> |
UncheckedFunction.andThen(UncheckedFunction<? super R,? extends V> after)
Returns a composed function that first applies this function to
its input, and then applies the
after function to the result. |
default <V> UncheckedBiFunction<T,U,V> |
UncheckedBiFunction.andThen(UncheckedFunction<? super R,? extends V> after)
Returns a composed function that first applies this function to
its input, and then applies the
after function to the result. |
default <V> UncheckedFunction<V,R> |
UncheckedFunction.compose(UncheckedFunction<? super V,? extends T> before)
Returns a composed function that first applies the
before
function to its input, and then applies this function to the result. |
static <T,R> Function<T,R> |
Unchecked.function(UncheckedFunction<T,R> function)
Transforms the given (unchecked) function into a regular function.
|
Copyright © 2019–2020 SmallRye. All rights reserved.