org.shapelogic.calculation
Interface Calc2<In0,In1,Out>

Type Parameters:
Out -
All Known Subinterfaces:
InputsStream2<In0,In1,E>
All Known Implementing Classes:
BaseStream2

public interface Calc2<In0,In1,Out>

Calc2 is basically a Closure with 2 inputs.
Used in a lazy calculation of a value, and lazy stream with 2 inputs.
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(In0 input0, In1 input1)
           
 

Method Detail

invoke

Out invoke(In0 input0,
           In1 input1)


Copyright © 2009. All Rights Reserved.