public interface Function<Param,Result>
Function
insteadfor some common implementations
Modifier and Type | Interface and Description |
---|---|
static class |
Function.First<P> |
static class |
Function.FirstInCollection<P> |
static class |
Function.InstanceOf<P,R extends P> |
static interface |
Function.Mono<T> |
Modifier and Type | Field and Description |
---|---|
static Function<?,?> |
ID
Deprecated.
Use
Functions.identity() instead |
static Function<?,?> |
NULL
Deprecated.
use
FunctionUtil.nullConstant() instead |
static Function<?,java.lang.String> |
TO_STRING
Deprecated.
use
Functions.TO_STRING() instead |
Modifier and Type | Method and Description |
---|---|
Result |
fun(Param param) |
@Deprecated static final Function<?,?> ID
Functions.identity()
instead@Deprecated static final Function<?,?> NULL
FunctionUtil.nullConstant()
instead@Deprecated static final Function<?,java.lang.String> TO_STRING
Functions.TO_STRING()
instead