Kactoos

kactoos-jvm / nnl.rocks.kactoos.func / Chained

Chained

class Chained<X : Any, Y : Any, Z : Any> : Func<X, Z>

Composed function.

Parameters

before - Before function

functions - Functions

after - After function

X - Type of input.

Y - Intermediate type.

Z - Type of output.

Since 0.4

Constructors

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.

Functions

Name Summary
apply fun apply(input: X): Z
Apply it.