T - the original type of the input to the chainable objectpublic interface InputChainableInput<T> extends InputChainable<T>
InputChainable to which the chained input is also a
chainable object.InputChainable| Modifier and Type | Method and Description |
|---|---|
default <V> InputChainableInput<V> |
compose(Function1<? super V,? extends T> before)
Returns a chained object that applies the
before function to its
input, and then applies this chainable object to the result. |
<V> InputChainableInput<V> |
composeUnchecked(Function1<? super V,? extends T> before)
Returns a chained object that applies the
before function to its
input, and then applies this chainable object to the result. |
default <V> InputChainableInput<V> compose(Function1<? super V,? extends T> before)
InputChainablebefore function to its
input, and then applies this chainable object to the result. If evaluation
of either throws an exception, it is relayed to the caller of the chained
object.compose in interface InputChainable<T>V - the type of the input to the before function, and to
then chained objectbefore - the function to apply before this chainable object is appliedbefore function
and then applies this chainable object<V> InputChainableInput<V> composeUnchecked(Function1<? super V,? extends T> before)
InputChainablebefore function to its
input, and then applies this chainable object to the result. If evaluation
of either throws an exception, it is relayed to the caller of the chained
object. This makes no assumptions on the arguments of this method.composeUnchecked in interface InputChainable<T>V - the type of the input to the before function, and to
then chained objectbefore - the function to apply before this chainable object is appliedbefore function
and then applies this chainable object