org.shapelogic.calculation
Interface CalcIndex1<In,Out>
- Type Parameters:
Out
-
- All Known Implementing Classes:
- FunctionCalcIndex1
public interface CalcIndex1<In,Out>
Calc0 is basically a Closure with 1 input, but one index.
Used in a lazy calculation of a value, and lazy stream with 1 input, and one index.
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,
int index)
Copyright © 2009. All Rights Reserved.