Package ptolemy.domains.coroutine.kernel
Class ControlEntryToken
- java.lang.Object
-
- ptolemy.data.Token
-
- ptolemy.domains.coroutine.kernel.ControlToken
-
- ptolemy.domains.coroutine.kernel.ControlEntryToken
-
public class ControlEntryToken extends ControlToken
- Since:
- Ptolemy II 11.0
- Version:
- $Id$
- Author:
- shaver
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ControlEntryToken.ControlType
static class
ControlEntryToken.EntryLocation
-
Nested classes/interfaces inherited from class ptolemy.domains.coroutine.kernel.ControlToken
ControlToken.Location
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ControlEntryToken
Enter(ControlEntryToken.EntryLocation l)
static ControlEntryToken
EntryToken(java.lang.String etS)
ControlEntryToken.EntryLocation
getLocation()
static ControlEntryToken
Init()
boolean
isEntry()
boolean
isExit()
boolean
isInit()
boolean
isLocation()
boolean
isResume()
static ControlEntryToken
Resume()
java.lang.String
toString()
Return the value of this token as a string that can be parsed by the expression language to recover a token with the same value.-
Methods inherited from class ptolemy.data.Token
add, addReverse, divide, divideReverse, getType, isCloseTo, isCloseTo, isEqualTo, isNil, modulo, moduloReverse, multiply, multiplyReverse, notSupportedConversionMessage, notSupportedIncomparableConversionMessage, notSupportedIncomparableMessage, notSupportedMessage, notSupportedNullNilStringMessage, one, pow, subtract, subtractReverse, zero, zeroReturnType
-
-
-
-
Method Detail
-
EntryToken
public static ControlEntryToken EntryToken(java.lang.String etS)
-
Init
public static ControlEntryToken Init()
-
Resume
public static ControlEntryToken Resume()
-
Enter
public static ControlEntryToken Enter(ControlEntryToken.EntryLocation l)
-
isEntry
public boolean isEntry()
- Specified by:
isEntry
in classControlToken
-
isExit
public boolean isExit()
- Specified by:
isExit
in classControlToken
-
isInit
public boolean isInit()
-
isResume
public boolean isResume()
-
isLocation
public boolean isLocation()
-
getLocation
public ControlEntryToken.EntryLocation getLocation()
-
toString
public java.lang.String toString()
Description copied from class:Token
Return the value of this token as a string that can be parsed by the expression language to recover a token with the same value. This method should be overridden by derived classes. In this base class, return the String "present" to indicate that an event is present. If this token isToken.NIL
then return "nil"
-
-