Class ComposeFunction
java.lang.Object
com.github.basking2.sdsai.itrex.functions.functional.ComposeFunction
- All Implemented Interfaces:
FunctionInterface<FunctionInterface<Object>>
,BiFunction<Iterator<?>,
EvaluationContext, FunctionInterface<Object>>
Given a list of functions, f, g, h, compose them such that they are called in
the order f(g(h)).
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionapply
(Iterator<?> iterator, EvaluationContext evaluationContext) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.function.BiFunction
andThen
-
Constructor Details
-
ComposeFunction
public ComposeFunction()
-
-
Method Details
-
apply
- Specified by:
apply
in interfaceBiFunction<Iterator<?>,
EvaluationContext, FunctionInterface<Object>>
-