public class Pairs extends 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.
|
public Pairs(ChannelInput in, ChannelOutput out)
in
- The input Channelout
- The output ChannelSubmit a bug or feature to jcsp-team@kent.ac.uk
Version 1.1-rc4 of the JCSP API Specification (Copyright 1997-2008 P.D.Austin and P.H.Welch - All Rights Reserved)
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.