/** * Construct a new SuccessorInt process with the input Channel in and the * output Channel out. * * @param in the input Channel * @param out the output Channel */ public SuccessorInt(ChannelInputInt In, ChannelOutputInt Out) { this.In = In; this.Out = Out; }
/** * Construct a new PrefixInt process with the input Channel in and the * output Channel out. * * @param n the initial int to be sent down the Channel. * @param in the input Channel * @param out the output Channel */ public PrefixInt(int n, ChannelInputInt In, ChannelOutputInt Out) { this.In = In; this.Out = Out; this.n = n; }
/** * Construct a new IdentityInt process with the input Channel in and the * output Channel out. * * @param in the input Channel * @param out the output Channel */ public IdentityInt(ChannelInputInt In, ChannelOutputInt Out) { this.In = In; this.Out = Out; }
public Consumer(ChannelInputInt inChannel) { this.inChannel = inChannel; }
/** * Construct a new Delta2Int process with the input Channel in and the output * Channels Out0 and Out1. The ordering of the Channels Out0 and Out1 make * no difference to the functionality of this process. * * @param in the input channel * @param Out0 an output Channel * @param Out1 an output Channel */ public Delta2Int(ChannelInputInt In, ChannelOutputInt out0, ChannelOutputInt out1) { this.In = In; this.Out0 = out0; this.Out1 = out1; }