public final class Generate extends java.lang.Object implements CSProcess
Output Channels | ||
---|---|---|
out | java.lang.Integer | The output will always be of type Integer. |
Modifier and Type | Field and Description |
---|---|
private java.lang.Integer |
N
The output number
|
private ChannelOutput |
out
The output Channel
|
Constructor and Description |
---|
Generate(ChannelOutput out,
int n)
Construct a new Generate process with the output channel out.
|
Modifier and Type | Method and Description |
---|---|
void |
run()
The main body of this process.
|
private final ChannelOutput out
private final java.lang.Integer N
public Generate(ChannelOutput out, int n)
out
- the output channeln
- the integer to generate