org.shapelogic.calculation
Interface Calc1<In,Out>
- Type Parameters:
Out
-
- All Known Subinterfaces:
- InputStream1<In,E>
- All Known Implementing Classes:
- BaseListFilterTransformerStream, BaseListStream1, FunctionCalc1, FunctionPredicate, ListCalcStream1, ListFilterCalcStream1, OnePredicateSelector
public interface Calc1<In,Out>
Calc0 is basically a Closure with 1 input.
Used in a lazy calculation of a value, and lazy stream with 1 input.
The goal is to make lazy calculation and lazy streams as interchangeable as possible.
Using the same names as Neal Gafter's Closure prototype.
Might be changed to be a sub interface of them later.
- Author:
- Sami Badawi
invoke
Out invoke(In input)
Copyright © 2008. All Rights Reserved.