Class FunctionChain<I,O>
- java.lang.Object
-
- uk.gov.gchq.koryphe.composite.Composite<C>
-
- uk.gov.gchq.koryphe.function.FunctionComposite<I,O,Function<I,O>>
-
- uk.gov.gchq.koryphe.impl.function.FunctionChain<I,O>
-
- Type Parameters:
I
- Type of inputO
- Type of output
- All Implemented Interfaces:
Function<I,O>
public class FunctionChain<I,O> extends FunctionComposite<I,O,Function<I,O>>
A compositeFunction
that applies the given functions consecutively, returning the final output.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FunctionChain.Builder<I,O>
-
Constructor Summary
Constructors Constructor Description FunctionChain()
FunctionChain(Function... functions)
FunctionChain(List<Function> functions)
-
Method Summary
-
Methods inherited from class uk.gov.gchq.koryphe.function.FunctionComposite
apply, getComponents
-
Methods inherited from class uk.gov.gchq.koryphe.composite.Composite
equals, hashCode, setComponents, toString
-
-