org.shapelogic.streams
Interface InputsStream2<In0,In1,E>

All Known Implementing Classes:
BaseStream2

public interface InputsStream2<In0,In1,E>

NumberedStream is a Sequential stream where each element has an intrinsic number.

Author:
Sami Badawi

Method Summary
 Stream<In0> getInputStream0()
          Stream that this stream is connected to.
 Stream<In1> getInputStream1()
           
 E invoke(In0 input0, In1 input1)
          Closure to calculated 1 individual element based on index and input for the same index.
 

Method Detail

invoke

E invoke(In0 input0,
         In1 input1)
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

getInputStream0

Stream<In0> getInputStream0()
Stream that this stream is connected to. What if the Range is of different type? I think that maybe I can relax this later.


getInputStream1

Stream<In1> getInputStream1()


Copyright © 2008. All Rights Reserved.