|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IndexedInputStream2<In0,In1,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.
| Method Summary | |
|---|---|
In0 |
getInput0(int index)
Get numbered element from InputStream |
In1 |
getInput1(int index)
|
NumberedStream<In0> |
getInputStream0()
Stream that this stream is connected to. |
NumberedStream<In1> |
getInputStream1()
|
E |
invoke(In0 input0,
In1 input1,
int index)
Closure to calculated 1 individual element based on index and input for the same index. |
| Method Detail |
|---|
E invoke(In0 input0,
In1 input1,
int index)
index - of element in listIn0 getInput0(int index)
In1 getInput1(int index)
NumberedStream<In0> getInputStream0()
NumberedStream<In1> getInputStream1()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||