public interface HasCompose<T>
compose(Function)
method similar to
Function.compose(Function)
, but even primitive expressions might
implement this trait.Modifier and Type | Method and Description |
---|---|
<V> Expression<V> |
compose(Function<? super V,? extends T> before)
Returns a composed expression that first applies the
before
function to its input, and then applies this function to the result. |
<V> Expression<V> compose(Function<? super V,? extends T> before)
before
function to its input, and then applies this function to the result.
If evaluation of either function throws an exception, it is relayed to
the caller of the composed function.V
- the type of input to the before
function, and to the
composed expressionbefore
- the function to apply before this function is appliedbefore
function and then applies this functionNullPointerException
- if before is nullCopyright © 2018 Speedment, Inc.. All rights reserved.