org.shapelogic.calculation
Interface CalcList<In,Out>
- Type Parameters:
Out
-
- All Known Subinterfaces:
- InputStreamList<In,E>
- All Known Implementing Classes:
- AddListStream, AndListStream, ArrayOutputListStream, BaseListStreamList, XOrListStream
public interface CalcList<In,Out>
CalcList is basically a Closure with input as a List.
Used in a lazy calculation of a value, and lazy stream with a List 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(java.util.List<In> input)
Copyright © 2009. All Rights Reserved.