Package eu.bandm.tools.util
Class Operators.LiftedIFold<T,S>
java.lang.Object
eu.bandm.tools.util.Operators.LiftedIFold<T,S>
- All Implemented Interfaces:
Operators.Fun<Collection<T>,S>
- Enclosing class:
- Operators
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
body
-
-
Constructor Details
-
LiftedIFold
-
-
Method Details
-
apply
Description copied from interface:Operators.FunCompute an output element from an input element. Computation should be stateless and thread-safe, i.e.,f.apply(x)for a given fixed function objectfand input elementxshould not vary unless the observable state ofxvaries.- Specified by:
applyin interfaceOperators.Fun<T,S> - Parameters:
x- an input element.- Returns:
- an output element.
-
toString
-