public class Pairs extends java.lang.Object implements CSProcess


Two inputs are needed before any output is produced but that, thereafter, one output is produced for each input.
| Input Channels | ||
|---|---|---|
| in | java.lang.Number | The Channel can accept data from any subclass of Number. All values will be converted to ints. |
| Output Channels | ||
| out | java.lang.Integer | The output will always be of type Integer. |
| Constructor and Description |
|---|
Pairs(ChannelInput in,
ChannelOutput out)
Construct a new Pairs process with the input Channel in and the
output Channel out.
|
| Modifier and Type | Method and Description |
|---|---|
void |
run()
The main body of this process.
|
public Pairs(ChannelInput in, ChannelOutput out)
in - The input Channelout - The output ChannelCopyright © 1996–2022. All rights reserved.