public final class PairsInt
Generates sums of successive pairs of input values.
Two inputs are needed before any output is produced but that, thereafter, one output is produced for each input.
Input Channels | ||
---|---|---|
in | int | All channels in this package carry integers. |
Output Channels | ||
out | int | All channels in this package carry integers. |
Constructor and description |
---|
PairsInt
(ChannelInputInt in, ChannelOutputInt out) Construct a new PairsInt process with the input Channel in and the output Channel out. |
Construct a new PairsInt process with the input Channel in and the output Channel out.
in
- The input Channelout
- The output ChannelJCSP for Java 1.8 generated 14-10-2016 by Jon Kerridge, Edinburgh Napier University - j dot kerridge at napier dot ac dot uk