|
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.Objectorg.jcsp.plugNplay.ints.NumbersInt
public class NumbersInt
Plugs together a network of low-level stateless components to generate the sequence of natural numbers.
______________ | | out | NumbersInt |-->---- |______________|
___________________________________________ | _______________ ___________ | | | | | | | out | |PrefixInt (0)
|----->-----|Delta2Int
|-->-- | |_______________| |___________| | | | | | | | ______________ | | | | | | | | | +----<----|SuccessorInt
|--<--+ | | |______________| | | NumbersInt | |___________________________________________|
Output Channels | ||
---|---|---|
out | int | All channels in this package carry integers. |
Constructor Summary | |
---|---|
NumbersInt(ChannelOutputInt out)
Construct a new NumbersInt 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 NumbersInt(ChannelOutputInt 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 |