|
CSP for Java (JCSP) 1.1-rc3 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jcsp.plugNplay.Generate
public final class Generate
Generates an infinite (constant) sequence of Integers.

| Output Channels | ||
|---|---|---|
| out | java.lang.Integer | The output will always be of type Integer. |
| Constructor Summary | |
|---|---|
Generate(ChannelOutput out,
int n)
Construct a new Generate process with the output channel out. |
|
| Method Summary | |
|---|---|
void |
run()
The main body of this process. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Generate(ChannelOutput out,
int n)
out - the output channeln - the integer to generate| Method Detail |
|---|
public void run()
run in interface CSProcess
|
CSP for Java (JCSP) 1.1-rc3 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||