org.shapelogic.streams
Interface IndexedInputStream0<E>

All Known Implementing Classes:
BaseListStream0, PrimeNumberStream

public interface IndexedInputStream0<E>

Universal calculation and logic unit. This is going to replace the current Calc, so this should probably just be renamed to Calc or LazyCalc. Should I assume that null means absent of value? That seems a little harsh.

Author:
Sami Badawi

Method Summary
 E invoke(int index)
          Closure to calculated 1 individual element based on index and input for the same index.
 

Method Detail

invoke

E invoke(int index)
Closure to calculated 1 individual element based on index and input for the same index. Should later just call the invoke on the closure. Maybe this should be moved up later.

Parameters:
index - of element in list


Copyright © 2009. All Rights Reserved.