kactoos-jvm / nnl.rocks.kactoos.func / Chained
class Chained<X : Any, Y : Any, Z : Any> : Func<X, Z>
Composed function.
before - Before function
functions - Functions
after - After function
X - Type of input.
Y - Intermediate type.
Z - Type of output.
Since 0.4
| Name | Summary |
|---|---|
| <init> | Chained(before: KFunc<X, Y>, after: KFunc<Y, Z>)Chained(before: KFunc<X, Y>, functions: Iterable<KFunc<Y, Y>>, after: KFunc<Y, Z>)Composed function. |
| Name | Summary |
|---|---|
| apply | fun apply(input: X): ZApply it. |