This is a functional interface
whose functional method is apply(Object)
.
Modifier and Type | Method and Description |
---|---|
public default < the type of output of the V> Functionafter function, and of the
composed function | Returns: a composed function that first applies this function and then applies theafter functionthe function to apply after this function is applied after)Returns a composed function that first applies this function to
its input, and then applies the |
public R | Returns: the function resultthe function argument t)Applies this function to the given argument. |
public default < the type of input to the V> Functionbefore function, and to the
composed function | Returns: a composed function that first applies thebefore
function and then applies this functionthe function to apply before this function is applied before)Returns a composed function that first applies the |
public static < the type of the input and output objects to the function T> Function | Returns: a function that always returns its input argumentReturns a function that always returns its input argument. |
andThen | back to summary |
---|---|
public default <V> Function Returns a composed function that first applies this function to
its input, and then applies the
|
apply | back to summary |
---|---|
public R apply(T t) Applies this function to the given argument.
|
compose | back to summary |
---|---|
public default <V> Function Returns a composed function that first applies the
|
identity | back to summary |
---|---|
public static <T> Function Returns a function that always returns its input argument.
|