| Modifier and Type | Method and Description |
|---|---|
default <S> Function<T,S> |
Function.andThen(Function<? super R,? extends S> after)
Compose the specified
Function to be called on the value returned
by this Function. |
static <T,R> Function<T,R> |
Function.asFunction(Function<T,R> wrapped)
Returns a
Function which wraps the specified
java.util.function.Function. |
default <S> Function<S,R> |
Function.compose(Function<? super S,? extends T> before)
Compose the specified
Function to be called to supply a value to
be consumed by this Function. |
| Modifier and Type | Method and Description |
|---|---|
default <S> Function<T,S> |
Function.andThen(Function<? super R,? extends S> after)
Compose the specified
Function to be called on the value returned
by this Function. |
static <T,R> Function<T,R> |
Function.asJavaFunction(Function<T,R> wrapped)
Returns a
java.util.function.Function which wraps the specified
Function and throws any thrown exceptions. |
static <T,R> Function<T,R> |
Function.asJavaFunctionOrElse(Function<T,R> wrapped,
R orElse)
Returns a
java.util.function.Function which wraps the specified
Function and the specified value. |
static <T,R> Function<T,R> |
Function.asJavaFunctionOrElseGet(Function<T,R> wrapped,
Supplier<? extends R> orElseGet)
Returns a
java.util.function.Function which wraps the specified
Function and the specified java.util.function.Supplier. |
default <S> Function<S,R> |
Function.compose(Function<? super S,? extends T> before)
Compose the specified
Function to be called to supply a value to
be consumed by this Function. |
Copyright © Contributors to the Eclipse Foundation Licensed under the Eclipse Foundation Specification License – v1.0