org.shapelogic.calculation
Interface CalcIndex0<Out>

Type Parameters:
Out -
All Known Implementing Classes:
FunctionCalcIndex0

public interface CalcIndex0<Out>

Calc0 is basically a Closure with 0 inputs, but one index.
Used in a lazy calculation of a value, and lazy stream with no input, but 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

Method Summary
 Out invoke(int index)
           
 

Method Detail

invoke

Out invoke(int index)


Copyright © 2009. All Rights Reserved.