|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jcsp.nxt.lang.Guard
org.jcsp.nxt.lang.AltingChannelInputInt
public abstract class AltingChannelInputInt
This extends Guard and ChannelInputInt
to enable a process
to choose between many integer input (and other) events.
Guard and ChannelInputInt
to enable a process
to choose between many integer input (and other) events. The methods inherited from
Guard are of no concern to users of this package.
Guard,
Alternative| Constructor Summary | |
|---|---|
AltingChannelInputInt()
|
|
| Method Summary | |
|---|---|
abstract boolean |
pending()
Returns whether there is data pending on this channel. |
| Methods inherited from class org.jcsp.nxt.lang.Guard |
|---|
disable, enable |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.jcsp.nxt.lang.ChannelInputInt |
|---|
read |
| Constructor Detail |
|---|
public AltingChannelInputInt()
| Method Detail |
|---|
public abstract boolean pending()
Note: if there is, it won't go away until you read it. But if there isn't, there may be some by the time you check the result of this method.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||