Constructor and Description |
---|
FluentFunction() |
Modifier and Type | Method and Description |
---|---|
<C> FluentFunction<A,C> |
andThen(Function<B,C> f)
Returns a new
FluentFunction which is the composition of this
function and the argument given to this method. |
static <A,B> FluentFunction<A,B> |
from(Function<A,B> f)
Wraps the given function with a new fluent function or returns the
function as is if it is already a fluent function.
|
public final <C> FluentFunction<A,C> andThen(Function<B,C> f)
FluentFunction
which is the composition of this
function and the argument given to this method.f
- the function which should be called on the result of this
functionpublic static final <A,B> FluentFunction<A,B> from(Function<A,B> f)