public final class GenerateInt extends java.lang.Object implements CSProcess
Output Channels | ||
---|---|---|
out | int | All channels in this package carry integers. |
Modifier and Type | Field and Description |
---|---|
private int |
n
The output number
|
private ChannelOutputInt |
out
The output Channel
|
Constructor and Description |
---|
GenerateInt(ChannelOutputInt out,
int n)
Construct a new GenerateInt process with the output channel out.
|
Modifier and Type | Method and Description |
---|---|
void |
run()
The main body of this process.
|
private final ChannelOutputInt out
private final int n
public GenerateInt(ChannelOutputInt out, int n)
out
- the output channeln
- the number to generate