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
-
Constructor Summary
-
Method Summary
-
Field Details
-
body
-
-
Constructor Details
-
LiftedIFold
-
-
Method Details
-
apply
Description copied from interface:Operators.Fun
Compute an output element from an input element. Computation should be stateless and thread-safe, i.e.,f.apply(x)
for a given fixed function objectf
and input elementx
should not vary unless the observable state ofx
varies.- Specified by:
apply
in interfaceOperators.Fun<T,
S> - Parameters:
x
- an input element.- Returns:
- an output element.
-
toString
-