|
CSP for Java (JCSP) 1.1-rc4 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jcsp.plugNplay.Numbers
public class Numbers
Plugs together a network of low-level stateless components to generate the sequence of natural numbers.
___________ | | out | Numbers |-->---- |___________|
___________________________________________ | ____________ ________ | | | | | | | out | |Prefix (0)
|----->-----|Delta2
|---------->-- | |____________| |________| | | | | | | | ___________ | | | | | | | | | +---<--|Successor
|--<--+ | | |___________| | | Numbers | |___________________________________________|
Input Channels | ||
---|---|---|
Output Channels | ||
out | java.lang.Integer | The output will always be of type Integer. |
Constructor Summary | |
---|---|
Numbers(ChannelOutput out)
Construct a new Numbers 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 Numbers(ChannelOutput out)
out
- the output channelMethod Detail |
---|
public void run()
run
in interface CSProcess
|
CSP for Java (JCSP) 1.1-rc4 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |