Modifier and Type | Class and Description |
---|---|
class |
DBConnectionToken
A token that contains a reference to a database connection.
|
Modifier and Type | Method and Description |
---|---|
Token |
DBConnectionToken.DBConnectionType.convert(Token token)
Convert the specified token to a token having the type represented by
this object.
|
Modifier and Type | Method and Description |
---|---|
protected void |
DatabaseAccessor._setPreparedStatementValue(java.sql.PreparedStatement st,
int index,
Token token)
Set a parameter value in a prepared statement.
|
static DBConnectionToken |
DBConnectionToken.convert(Token token)
Convert the specified token into an instance of DBConnectionToken.
|
Token |
DBConnectionToken.DBConnectionType.convert(Token token)
Convert the specified token to a token having the type represented by
this object.
|
Modifier and Type | Method and Description |
---|---|
protected void |
ArrayOfRecordsWriter._writeToken(Token token)
Write the specified token to the current writer.
|
Modifier and Type | Method and Description |
---|---|
static Token |
AttTypeMapper.buildMetaDataTokens(opendap.dap.BaseType bt) |
static Token |
AttTypeMapper.convertAttributeToToken(opendap.dap.Attribute att) |
static Token |
TokenMapper.mapDapObjectToToken(opendap.dap.BaseType dapBT,
boolean addMetadataRecord)
Maps a DAP data object to a ptII Token object.
|
static Token |
AttTypeMapper.mapSimpleTypeToToken(int attType,
java.lang.String attValue) |
Modifier and Type | Method and Description |
---|---|
static Token |
Utilities.createTokenFromString(java.lang.String tokenStr,
Type type)
Create a Token from a string based on the Ptolemy Type.
|
static Token |
Utilities.createTokenFromString(java.lang.String tokenStr,
Utilities.TokenType type)
Create a Token from a string based on the TokenType enum.
|
Modifier and Type | Method and Description |
---|---|
static Utilities.TokenType |
Utilities.getTokenTypeForSerialization(Token token)
Get the TokenType for a token.
|
Modifier and Type | Method and Description |
---|---|
static void |
DDPDataSink.addTokens(java.lang.String sinkActorName,
java.util.List<Token> tokenList)
Set a list of tokens for a specific DDPDataSink actor.
|
Modifier and Type | Field and Description |
---|---|
protected java.util.concurrent.LinkedBlockingQueue<Token> |
StubSourceActor._keyList
A list containing tokens to be written by the key port.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Token> |
StubSinkActor.getOutput()
Get the data read from the workflow by this actor.
|
Modifier and Type | Method and Description |
---|---|
void |
ReduceInput.setInput(Token keyToken,
Token valuesToken)
Set the input and values.
|
void |
MapInput.setInput(Token keyToken,
Token valueToken)
Set the key and value to write to workflow.
|
void |
MatchInput.setInput(Token keyToken,
Token value1Token,
Token value2Token)
Set the key and value from both inputs.
|
void |
CoGroupInput.setInput(Token keyToken,
Token values1Token,
Token values2Token)
Set the key and values from both inputs.
|
void |
CrossInput.setInput(Token key1Token,
Token value1Token,
Token key2Token,
Token value2Token)
Set the key and value from both inputs.
|
Modifier and Type | Method and Description |
---|---|
static org.geotools.geometry.jts.ReferencedEnvelope |
GetBoundingBox.getBoundingBox(Token token)
Get the bounding box for a GIS dataset in a token.
|
static org.geotools.geometry.jts.ReferencedEnvelope |
GetBoundingBox.getBoundingBox(Token token,
org.opengis.referencing.crs.CoordinateReferenceSystem crs)
Get the bounding box for a GIS dataset in a token with a specific crs.
|
Modifier and Type | Class and Description |
---|---|
class |
BoundingBoxToken
Token containing a GIS bounding box.
|
class |
GISToken
Token containing GIS data.
|
class |
RasterToken
Token containing a GIS raster.
|
class |
VectorToken
Token containing GIS vectors.
|
Modifier and Type | Method and Description |
---|---|
Token |
RasterToken.RasterType.convert(Token token) |
Token |
VectorToken.VectorType.convert(Token token) |
Token |
BoundingBoxToken.BoundingBoxType.convert(Token token)
Convert the specified token into a BoundingBox token.
|
Token |
GISToken.GISType.convert(Token token) |
Token |
WebViewConverter.toToken(java.lang.String data,
Type type)
Converts from a geojson string to a token.
|
Modifier and Type | Method and Description |
---|---|
Token |
RasterToken.RasterType.convert(Token token) |
Token |
VectorToken.VectorType.convert(Token token) |
Token |
BoundingBoxToken.BoundingBoxType.convert(Token token)
Convert the specified token into a BoundingBox token.
|
Token |
GISToken.GISType.convert(Token token) |
java.lang.Object |
WebViewConverter.fromToken(Token token)
Convert from a token to a (geo)json string.
|
BooleanToken |
BoundingBoxToken.isCloseTo(Token other,
double epsilon)
Test that the value of this Token is close to the first argument,
where "close" means that the distance between them is less than
or equal to the second argument.
|
BooleanToken |
RasterToken.isEqualTo(Token rightArgument)
Test for equality of the values of this Token and the argument Token.
|
BooleanToken |
VectorToken.isEqualTo(Token rightArgument)
Test for equality of the values of this Token and the argument Token.
|
BooleanToken |
BoundingBoxToken.isEqualTo(Token rightArgument)
Test for equality of the values of this Token and the argument Token.
|
Modifier and Type | Method and Description |
---|---|
Token |
TokenWritable.getToken()
Get the token.
|
Constructor and Description |
---|
TokenWritable(Token token)
Create a new TokenWritable for a token.
|
Constructor and Description |
---|
TokenInputSplit(Token token)
Create a TokenInputSplit for a token.
|
Modifier and Type | Method and Description |
---|---|
static Token |
StubUtilities.convertToArrayToken(java.util.Iterator<org.apache.hadoop.io.Writable> values)
Convert data to a token.
|
static Token |
StubUtilities.convertToToken(java.lang.Object value)
Convert hadoop data to a token.
|
static Token |
StubUtilities.convertToToken(java.lang.Object value,
java.lang.Class<?> clazz)
Convert hadoop data to a token.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.Object |
StubUtilities.convertToHadoopData(Token token)
Convert a token to hadoop data.
|
Modifier and Type | Method and Description |
---|---|
static void |
StubUtilities.convertTokenToList(java.util.List<Token> tokenList,
java.util.List<KeyValuePair> outputList)
Convert a token to hadoop data and add to a Collector.
|
Modifier and Type | Method and Description |
---|---|
Token |
DefaultQuery.getToken(int tokenId)
Get the Token.
|
Token |
Queryable.getToken(int tokenId)
Get the Token.
|
Modifier and Type | Method and Description |
---|---|
protected void |
OpenProvenanceModelXML._recordPortEvent(IOPort port,
org.openprovenance.model.ProcessId processId,
boolean isRead,
int channel,
Token token)
Deprecated.
Record a port read or write.
|
Modifier and Type | Method and Description |
---|---|
protected void |
ProvRecording._recordPortEvent(IOPort port,
org.openprovenance.prov.model.Activity activity,
boolean isRead,
int channel,
Token token,
java.util.Date timestamp)
Record a port read or write.
|
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
SQLRecordingV8._checkForFileData(Token token)
See if a token contains a valid filename.
|
protected void |
SQLRecording._recordPortEvent(IOPort port,
int fireId,
int rwfireId,
boolean isRead,
int channel,
Token token,
IOPort destPort,
java.util.Date timestamp)
Record a port read or write to the token_flow table.
|
protected void |
SQLRecordingV8._recordPortEvent(IOPort port,
int fireId,
int rwfireId,
boolean isRead,
int channel,
Token token,
IOPort destPort,
java.util.Date timestamp)
Record a specific type of firing for an actor.
|
Modifier and Type | Method and Description |
---|---|
Token |
ItemValue.getValue() |
Token |
ReportInstance.lookupValue(java.lang.String name)
Look up a _single_ token value for the given item name
|
Modifier and Type | Method and Description |
---|---|
void |
ItemValue.setValue(Token value) |
Constructor and Description |
---|
ItemValue(Token value) |
Modifier and Type | Method and Description |
---|---|
static Token |
TokenUtil.getToken(java.lang.String type,
java.lang.String value)
Get the Token.
|
Modifier and Type | Method and Description |
---|---|
static int |
TokenUtil.getColumnCount(Token token) |
static java.lang.String |
TokenUtil.getLabel(Token token,
int column) |
static int |
TokenUtil.getRowCount(Token token) |
static java.lang.String |
TokenUtil.getStringValue(Token token) |
static java.lang.String |
TokenUtil.getValue(Token token,
int column,
int row) |
static boolean |
TokenUtil.isRecordOrArrayOrMatrixToken(Token token) |
Modifier and Type | Method and Description |
---|---|
static Token |
StubUtilities.convertToToken(java.lang.Object value)
Convert Hadoop data types or Java Objects to a Ptolemy token.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.Object |
StubUtilities.convertTokenToObject(Token token)
Convert a token to a Java Object.
|
Modifier and Type | Method and Description |
---|---|
static void |
StubUtilities.convertTokenToTupleList(java.util.List<Token> tokenList,
java.util.List<scala.Tuple2<java.lang.Object,java.lang.Object>> out)
Convert a list of record tokens into a list of Tuple2s containing Java Objects.
|
Modifier and Type | Method and Description |
---|---|
Token |
RecordValue.recordToken()
Get the record token from the serialized value.
|
Modifier and Type | Method and Description |
---|---|
Token |
TokenInputSplit.getToken()
Get the token.
|
Constructor and Description |
---|
TokenInputSplit(int i,
Token token)
Create a new TokenInputSplit.
|
Modifier and Type | Method and Description |
---|---|
static Token |
StubUtilities.convertPactDataToToken(java.util.Iterator<eu.stratosphere.types.Record> records,
int fieldNum,
java.lang.Class<? extends eu.stratosphere.types.Value> classType)
Convert PACT data to a token.
|
static Token |
StubUtilities.convertPactDataToToken(eu.stratosphere.types.Record record,
int fieldNum,
java.lang.Class<? extends eu.stratosphere.types.Value> classType)
Convert PACT data to a token.
|
Modifier and Type | Method and Description |
---|---|
static eu.stratosphere.types.Key |
StubUtilities.convertTokenToPactKeyData(Token token)
Convert a token to PACT Key data.
|
static eu.stratosphere.types.Value |
StubUtilities.convertTokenToPactValueData(Token token)
Convert a token to PACT Value data.
|
Modifier and Type | Method and Description |
---|---|
static void |
StubUtilities.convertTokenToCollector(java.util.List<Token> tokenList,
eu.stratosphere.util.Collector<eu.stratosphere.types.Record> collector)
Convert a token to PACT data and add to a Collector.
|
Modifier and Type | Method and Description |
---|---|
protected Token |
WebView._convertOutputToToken(java.lang.String data,
Type type) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.Object |
WebViewAttribute._convertInputToJson(Token token) |
Modifier and Type | Method and Description |
---|---|
Token |
TokenConverter.convertToToken(java.lang.String data,
Type type)
Convert data to a Ptolemy token with the specified type.
|
Token |
Converter.toToken(java.lang.String data,
Type type) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
TokenConverter.convertFromToken(Token token)
Convert data from a Ptolemy token.
|
java.lang.Object |
Converter.fromToken(Token token) |
Modifier and Type | Field and Description |
---|---|
protected Token |
IOPort._constantToken
The constant value to return instead of the received tokens.
|
protected Token |
Mailbox._token
The token held.
|
Modifier and Type | Method and Description |
---|---|
Token |
TypedIOPort.convert(Token token)
Convert the specified token into a token with type equal
to the type returned by getType().
|
Token |
IOPort.convert(Token token)
Convert the specified token into a token acceptable to
this port.
|
Token |
Mailbox.get()
Get the contained Token.
|
Token |
Receiver.get()
Get a token from this receiver.
|
Token |
IntermediateReceiver.get()
Delegate to the internal receiver and return whatever it returns.
|
abstract Token |
AbstractReceiver.get()
Get a token from this receiver.
|
Token |
QueueReceiver.get()
Remove the first token (the oldest one) from the receiver and
return it.
|
Token |
IOPort.get(int channelIndex)
Get a token from the specified channel.
|
Token |
SubscriptionAggregatorPort.get(int channelIndex)
Get a token from the specified channel.
|
Token |
QueueReceiver.get(int offset)
Return a token in the receiver or its history.
|
Token[] |
IOPort.get(int channelIndex,
int vectorLength)
Get an array of tokens from the specified channel.
|
Token[] |
SubscriptionAggregatorPort.get(int channelIndex,
int vectorLength)
Get an array of tokens from the specified channel.
|
Token[] |
Receiver.getArray(int numberOfTokens)
Get an array of tokens from this receiver.
|
Token[] |
AbstractReceiver.getArray(int numberOfTokens)
Get an array of tokens from this receiver.
|
Token |
IOPort.getInside(int channelIndex)
Get a token from the specified inside channel of this port.
|
Token |
TypedIOPort.RunTimeTypeCheckException.getToken()
Return the token that caused the exception.
|
Token |
TokenGotEvent.getToken()
Deprecated.
Return the token that was received by the IOPort.
|
Token |
TokenSentEvent.getToken()
Deprecated.
Return the token that was sent by the IOPort.
|
Token |
IOPortEvent.getToken()
Return the token that was sent or received by the IOPort.
|
Token[] |
TokenGotEvent.getTokenArray()
Deprecated.
Return the array of tokens that was received by the
IOPort.
|
Token[] |
TokenSentEvent.getTokenArray()
Deprecated.
Return the array of tokens that the IOPort sent.
|
Token[] |
IOPortEvent.getTokenArray()
Return the array of tokens that the IOPort sent or received.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Token> |
Mailbox.elementList()
Return a list with the token currently in the receiver, or
an empty list if there is no such token.
|
java.util.List<Token> |
Receiver.elementList()
Return a list with tokens that are currently in the receiver
available for get() or getArray().
|
java.util.List<Token> |
IntermediateReceiver.elementList()
Delegate to the internal receiver and return whatever it returns.
|
java.util.List<Token> |
AbstractReceiver.elementList()
Return a list with tokens that are currently in the receiver
available for get() or getArray().
|
java.util.List<Token> |
QueueReceiver.elementList()
List the tokens in the receiver, beginning with the oldest.
|
Modifier and Type | Method and Description |
---|---|
protected void |
TypedIOPort._checkType(Token token)
Check that the specified token as well as the token in
the default value, if specified, is compatible with the
resolved type of this port.
|
protected void |
IOPort._setConstant(Token token,
int limit)
Set a constant token so that every call to
IOPort.get(int)
or IOPort.get(int,int) replaces the returned token(s) with
this specified token. |
void |
TypedIOPort.broadcast(Token token)
Send a token to all connected receivers.
|
void |
ConstantPublisherPort.broadcast(Token token)
Override the base class to replace the specified token with
the value of constantValue.
|
void |
IOPort.broadcast(Token token)
Send a token to all connected receivers.
|
void |
TypedIOPort.broadcast(Token[] tokenArray,
int vectorLength)
Send the specified portion of a token array to all receivers connected
to this port.
|
void |
ConstantPublisherPort.broadcast(Token[] tokenArray,
int vectorLength)
Override the base class to replace the specified tokens with
the value of constantValue.
|
void |
IOPort.broadcast(Token[] tokenArray,
int vectorLength)
Send the specified portion of a token array to all receivers connected
to this port.
|
Token |
TypedIOPort.convert(Token token)
Convert the specified token into a token with type equal
to the type returned by getType().
|
Token |
IOPort.convert(Token token)
Convert the specified token into a token acceptable to
this port.
|
void |
Mailbox.put(Token token)
Put a token into the mailbox.
|
void |
Receiver.put(Token token)
Put the specified token into this receiver.
|
void |
IntermediateReceiver.put(Token token)
Forward the specified token to communication aspect specified in
the constructor.
|
abstract void |
AbstractReceiver.put(Token token)
Put the specified token into this receiver.
|
void |
QueueReceiver.put(Token token)
Put a token to the receiver.
|
void |
Receiver.putArray(Token[] tokenArray,
int numberOfTokens)
Put a portion of the specified token array into this receiver.
|
void |
AbstractReceiver.putArray(Token[] tokenArray,
int numberOfTokens)
Put a portion of the specified token array into this receiver.
|
void |
Receiver.putArrayToAll(Token[] tokens,
int numberOfTokens,
Receiver[] receivers)
Put a sequence of tokens to all receivers in the specified array.
|
void |
AbstractReceiver.putArrayToAll(Token[] tokens,
int numberOfTokens,
Receiver[] receivers)
Put a sequence of tokens to all receivers in the specified array.
|
void |
Receiver.putToAll(Token token,
Receiver[] receivers)
Put a single token to all receivers in the specified array.
|
void |
AbstractReceiver.putToAll(Token token,
Receiver[] receivers)
Put to all receivers in the specified array.
|
void |
TypedIOPort.send(int channelIndex,
Token token)
Send a token to the specified channel, checking the type
and converting the token if necessary.
|
void |
ConstantPublisherPort.send(int channelIndex,
Token token)
Override the base class to replace the specified token with
the value of constantValue.
|
void |
IOPort.send(int channelIndex,
Token token)
Send the specified token to all receivers connected to the
specified channel.
|
void |
TypedIOPort.send(int channelIndex,
Token[] tokenArray,
int vectorLength)
Send the specified portion of a token array to all receivers
connected to the specified channel, checking the type
and converting the token if necessary.
|
void |
ConstantPublisherPort.send(int channelIndex,
Token[] tokenArray,
int vectorLength)
Override the base class to replace the specified tokens with
the value of constantValue.
|
void |
IOPort.send(int channelIndex,
Token[] tokenArray,
int vectorLength)
Send the specified portion of a token array to all receivers connected
to the specified channel.
|
void |
TypedIOPort.sendInside(int channelIndex,
Token token)
Send the specified token to all receivers connected to the
specified inside channel of this port, checking the type and
converting the token if necessary.
|
void |
IOPort.sendInside(int channelIndex,
Token token)
Send the specified token to all receivers connected to the
specified inside channel of this port.
|
void |
CommunicationAspect.sendToken(Receiver source,
Receiver receiver,
Token token)
Take the specified token and mediate communication to the specified
receiver.
|
Constructor and Description |
---|
IOPortEvent(IOPort port,
int event,
int channel,
boolean outside,
Token token)
Create a new port event with the given parameters.
|
IOPortEvent(IOPort port,
int event,
int channel,
boolean outside,
Token[] tokens,
int vectorLength)
Create a new port event with the given parameters.
|
IOPortEvent(IOPort port,
IOPort receiverPort,
boolean isBegin,
int channel,
boolean outside,
Token token)
Create a new port event with the given parameters.
|
RunTimeTypeCheckException(TypedIOPort port,
Token token)
Create an run-time type error exception.
|
TokenGotEvent(IOPort sink,
int channel,
Token[] tokens,
int vectorLength,
boolean outside)
Deprecated.
Create a new token got event with the given parameters.
|
TokenGotEvent(IOPort sink,
int channel,
Token token,
boolean outside)
Deprecated.
Create a new token got event with the given parameters.
|
TokenSentEvent(IOPort source,
int channel,
Token token)
Deprecated.
Create a new token sent event with the given parameters.
|
TokenSentEvent(IOPort source,
int channel,
Token[] tokens,
int vectorLength)
Deprecated.
Create a new token sent event with the given parameters.
|
TokenSentEvent(IOPort source,
Token token)
Deprecated.
Create a new token sent event with the given parameters.
|
TokenSentEvent(IOPort source,
Token[] tokens,
int vectorLength)
Deprecated.
Create a new token sent event with the given parameters.
|
Modifier and Type | Method and Description |
---|---|
static Token |
PtolemyPreferences.preferenceValue(NamedObj context,
java.lang.String preferenceName)
Check to see whether a preference of the specified name is
defined in the specified context, and if it is, return its value.
|
static Token |
PtolemyPreferences.preferenceValueLocal(NamedObj context,
java.lang.String preferenceName)
Check to see whether a preference of the specified name is
defined in the container of the specified context, either directly
or within an instance of PtolemyPreferences, or
globally, and if it is, return it's value.
|
Modifier and Type | Method and Description |
---|---|
void |
TokenTableau.append(Token token)
Append the specified token to the display.
|
void |
MatrixTokenTableau.append(Token token)
Display the specified token.
|
void |
TokenEffigy.append(Token token)
Append the specified token to the token array associated with this
effigy.
|
static boolean |
TokenTableau.canDisplay(Token token)
Return true if this tableau can display the specified token.
|
static boolean |
MatrixTokenTableau.canDisplay(Token token)
Return true if this tableau can display the specified token.
|
Modifier and Type | Field and Description |
---|---|
protected Token[] |
MovingAverage._data
The delay line.
|
protected Token |
MicrostepDelay._pendingOutput
A token to send in the next microstep.
|
protected Token |
Expression._result
Variable storing the result of the expression evaluation so that
subclasses can access it in an overridden fire() method.
|
Token |
TimeDelay.PendingEvent.token
The token associated with the event.
|
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<java.lang.String,Token> |
Expression._tokenMap
Map from input port name to input value.
|
Modifier and Type | Method and Description |
---|---|
protected Token |
DiscreteClock._getValue(int index)
Get the specified output value, checking the form of the values
parameter.
|
protected Token |
Clock._getValue(int index)
Deprecated.
Get the specified output value, checking the form of the values
parameter.
|
Token |
Recorder.getLatest(int channel)
Get the latest input for the specified channel.
|
Modifier and Type | Method and Description |
---|---|
protected void |
NonStrictTest._checkRangeOfTolerance(Token newValue)
Check that the difference in exponents between the
input and the tolerance is not greater than the precision
of a Double.
|
protected static boolean |
NonStrictTest._isClose(Token token1,
Token token2,
double epsilon)
Test whether the value of the first token is close to the
the value of the second token.
|
protected static boolean |
NonStrictTest._isCloseToIfNilArrayElement(Token token1,
Token token2,
double epsilon)
Test whether the value of this token is close to the first argument,
where "close" means that the distance between them is less than
or equal to the second argument.
|
protected static boolean |
NonStrictTest._isCloseToIfNilRecordElement(Token token1,
Token token2,
double epsilon)
Test whether the value of this token is close to the first argument,
where "close" means that the distance between them is less than
or equal to the second argument.
|
Modifier and Type | Method and Description |
---|---|
static Token |
JSONToToken.parseJSON(java.lang.String input)
Parse the input string and return a token representation of the data.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
TokenToJSON.constructJSON(Token input)
Construct a string that represents the argument in JSON format.
|
Modifier and Type | Method and Description |
---|---|
protected Token |
TimedMonitorValue._getInputToken(int i)
Return a token from the named input channel.
|
protected Token |
MonitorValue._getInputToken(int i)
Return a token from the named input channel.
|
Modifier and Type | Method and Description |
---|---|
void |
TextFieldContainerInterface.setValue(Token token)
Set the text to the value of the token.
|
void |
TextFieldContainerJavaSE.setValue(Token value)
Set the text to the value of the token.
|
Modifier and Type | Method and Description |
---|---|
Token |
IterateOverArray.IteratePort.convert(Token token)
Override the base class to convert the token to the element
type rather than to the type of the port, unless the port
is of type GENERAL, in which case, no conversion is necessary.
|
Modifier and Type | Method and Description |
---|---|
Token |
IterateOverArray.IteratePort.convert(Token token)
Override the base class to convert the token to the element
type rather than to the type of the port, unless the port
is of type GENERAL, in which case, no conversion is necessary.
|
void |
IterateOverArray.IteratePort.sendInside(int channelIndex,
Token token)
Override the base class to convert the token to the element
type rather than to the type of the port.
|
Modifier and Type | Method and Description |
---|---|
void |
ImageTableau.append(Token token)
Display the specified token.
|
static boolean |
ImageTableau.canDisplay(Token token)
Return true if this tableau can display the specified token.
|
void |
ImageDisplayInterface.display(Token in)
Display the specified token.
|
void |
ImageDisplayJavaSE.display(Token in)
Display the specified token.
|
Modifier and Type | Method and Description |
---|---|
protected void |
ExpressionWriter._writeToken(Token token)
Deprecated.
Write the specified token to the current writer using the toString()
method of the token, which usually results in an expression that
can be read back in using the expression parser.
|
protected void |
LineWriter._writeToken(Token token)
Write the specified token to the current writer.
|
protected void |
CSVWriter._writeToken(Token token)
Write the specified token to the current writer.
|
Modifier and Type | Method and Description |
---|---|
Token |
SharedParameter.getToken()
Get the token contained by this variable.
|
Modifier and Type | Method and Description |
---|---|
protected void |
IntRangeParameter._setTokenAndNotify(Token newToken) |
protected void |
DoubleRangeParameter._setTokenAndNotify(Token newToken) |
void |
PortParameter.setCurrentValue(Token token)
Set the current value of this parameter and notify the container
and value listeners.
|
void |
PortParameter.setToken(Token newValue)
Override the base class to record the persistent expression
to be the string representation of the specified token.
|
void |
SharedParameter.setToken(Token token)
Override the base class to also set the token of shared
parameters.
|
Constructor and Description |
---|
FilePortParameter(NamedObj container,
java.lang.String name,
Token token)
Construct a Parameter with the given container, name, and Token.
|
MirrorPortParameter(NamedObj container,
java.lang.String name,
Token token)
Construct a Parameter with the given container, name, and Token.
|
PortParameter(NamedObj container,
java.lang.String name,
Token token)
Construct a Parameter with the given container, name, and Token.
|
Modifier and Type | Method and Description |
---|---|
Token |
MailboxBoundaryReceiver.get()
Get a token from this receiver.
|
Modifier and Type | Method and Description |
---|---|
void |
MailboxBoundaryReceiver.put(Token token)
Put a token into this receiver.
|
Modifier and Type | Field and Description |
---|---|
protected Token |
FixedPointReceiver._token
The token held.
|
Modifier and Type | Method and Description |
---|---|
Token |
FixedPointReceiver.get()
Return the contained token.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Token> |
FixedPointReceiver.elementList()
Return a list with the token currently in the receiver, or
an empty list if there is no such token.
|
Modifier and Type | Method and Description |
---|---|
void |
FixedPointReceiver.put(Token token)
If the specified token is non-null, then
set the status of this receiver to known and present, and to contain the
specified token.
|
Modifier and Type | Method and Description |
---|---|
Token |
TestAbstractReceiver.get()
Get a token from this receiver.
|
Modifier and Type | Method and Description |
---|---|
void |
TestAbstractReceiver.put(Token token)
Put the specified token into this receiver.
|
Modifier and Type | Method and Description |
---|---|
Token |
ConstVariableModelAnalysis.getConstantValue(Variable variable)
Return the constant value of the given parameter, if the
parameter is actually constant.
|
Modifier and Type | Class and Description |
---|---|
class |
AbsentToken
A placeholder token that represents the absence of a token.
|
class |
AbstractConvertibleToken
The Token base class provides a very general interface for building
new data types.
|
class |
AbstractNotConvertibleToken
The Token base class provides a very general interface for building
new data types.
|
class |
ActorToken
A token that contains an actor.
|
class |
ArrayToken
A token that contains an array of tokens.
|
class |
AWTImageToken
A token that contains a java.awt.Image.
|
class |
BooleanMatrixToken
A token that contains a 2-D boolean matrix.
|
class |
BooleanToken
A token that contains a boolean variable.
|
class |
ComplexMatrixToken
A token that contains a 2-D Complex matrix.
|
class |
ComplexToken
A token that contains a Complex number represented by a 64-bit
double-precision floating point real and imaginary parts.
|
class |
DateToken
A token that contains a date.
|
class |
DoubleMatrixToken
A token that contains a 2-D double matrix.
|
class |
DoubleToken
A token that contains a 64-bit signed mantissa, signed exponent double
precision floating-point number (IEEE 754).
|
class |
EventToken
A token representing a pure event.
|
class |
FixMatrixToken
A token that contains a 2-D FixToken matrix.
|
class |
FixToken
A token that contains an instance of FixPoint.
|
class |
FloatToken
A token that contains a 32-bit signed mantissa, signed exponent single
precision floating-point number (IEEE 754).
|
class |
FunctionToken
A token that contains a function.
|
class |
ImageToken
An abstract class that all tokens which encapsulate images should extend.
|
class |
IntMatrixToken
A token that contains a 2-D int matrix.
|
class |
IntToken
A token that contains a signed 32-bit integer number.
|
class |
LongMatrixToken
A token that contains a 2-D long matrix.
|
class |
LongToken
A token that contains a signed 64-bit long integer.
|
class |
MatrixToken
Abstract base class for tokens that contain a 2-D matrix.
|
class |
ObjectToken
A token that contains a reference to an arbitrary object.
|
class |
OrderedRecordToken
A token that contains a set of label/token pairs.
|
class |
PetiteToken
A token that contains a number which is essentially a
simulation equivalent for fixed point numbers in embedded processors.
|
class |
RecordToken
A token that contains a set of label/token pairs.
|
class |
ScalarToken
Abstract base class for tokens that contain a scalar.
|
class |
ShortToken
A token that contains a signed 16-bit integer number.
|
class |
SmoothToken
A double-valued token that contains zero or more derivatives, representing
the value of a function of time at a particular time.
|
class |
StringToken
A token that contains a string, or more specifically, a reference
to an instance of String.
|
class |
TupleToken
A token that contains an ordered set of tokens.
|
class |
UnionToken
A token that contains a label/token pairs.
|
class |
UnsignedByteToken
A token that contains a byte number in the range 0 through 255.
|
class |
UnsizedArrayToken
A token that represents an array.
|
class |
UnsizedFixToken
A token that contains an instance of FixPoint.
|
class |
UpdatedArrayToken
A token that contains an array of tokens that is equal to another
specified ArrayToken except at one location, where it has a new
value.
|
class |
XMLToken
A token that contains a xml document.
|
Modifier and Type | Field and Description |
---|---|
static Token |
Token.NIL
A token that represents a missing value.
|
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<java.lang.String,Token> |
RecordToken._fields
The map of fields that has keys of type String and values of
type token.
|
Modifier and Type | Method and Description |
---|---|
protected abstract Token |
AbstractConvertibleToken._add(Token rightArgument)
Return a new token whose value is the value of the
argument Token added to the value of this Token.
|
protected Token |
StringToken._add(Token rightArgument)
Return a new token whose value is the value of the
argument Token added to the value of this Token.
|
protected Token |
RecordToken._add(Token rightArgument)
Return a new token whose value is the field-wise addition of
this token and the argument.
|
protected Token |
UnionToken._add(Token rightArgument)
Return a new token whose value is the sum of this token and
the argument.
|
protected Token |
ArrayToken._add(Token rightArgument)
Return a new token whose value is the value of the argument
token added to the value of this token.
|
protected abstract Token |
AbstractNotConvertibleToken._add(Token rightArgument)
Return a new token whose value is the value of the argument
token added to the value of this token.
|
protected Token |
DateToken._add(Token rightArgument)
Subtract is not supported for Dates.
|
protected abstract Token |
AbstractConvertibleToken._divide(Token rightArgument)
Return a new token whose value is the value of this token
divided by the value of the argument token.
|
protected Token |
StringToken._divide(Token rightArgument)
Return a new token whose value is the value of this token
divided by the value of the argument token.
|
protected Token |
RecordToken._divide(Token rightArgument)
Return a new token whose value is the field-wise division of
this token and the argument.
|
protected Token |
UnionToken._divide(Token rightArgument)
Return a new token whose value is the division of
this token and the argument.
|
protected Token |
ArrayToken._divide(Token rightArgument)
Return a new token whose value is the value of this token
divided by the value of the argument token.
|
protected abstract Token |
AbstractNotConvertibleToken._divide(Token rightArgument)
Return a new token whose value is the value of this token
divided by the value of the argument token.
|
protected Token |
DateToken._divide(Token rightArgument)
Subtract is not supported for Dates.
|
protected Token |
ArrayToken._divideReverse(Token rightArgument)
Return a new token whose value is the value of this token
divided into the value of the argument token.
|
protected abstract Token |
AbstractConvertibleToken._modulo(Token rightArgument)
Return a new token whose value is the value of this token
modulo the value of the argument token.
|
protected Token |
StringToken._modulo(Token rightArgument)
Return a new token whose value is the value of this token
modulo the value of the argument token.
|
protected Token |
RecordToken._modulo(Token rightArgument)
Return a new token whose value is the field-wise modulo of
this token and the argument.
|
protected Token |
UnionToken._modulo(Token rightArgument)
Return a new token whose value is the modulo of this token and
the argument.
|
protected Token |
ArrayToken._modulo(Token rightArgument)
Return a new token whose value is the value of this token
modulo the value of the argument token.
|
protected abstract Token |
AbstractNotConvertibleToken._modulo(Token rightArgument)
Return a new token whose value is the value of this token
modulo the value of the argument token.
|
protected Token |
DateToken._modulo(Token rightArgument)
Modulo is not supported for Dates.
|
protected Token |
ArrayToken._moduloReverse(Token rightArgument)
Return a new token whose value is the value of this token
modulo the value of the argument token.
|
protected abstract Token |
AbstractConvertibleToken._multiply(Token rightArgument)
Return a new token whose value is the value of this token
multiplied by the value of the argument token.
|
protected Token |
StringToken._multiply(Token rightArgument)
Return a new token whose value is the value of this token
multiplied by the value of the argument token.
|
protected Token |
RecordToken._multiply(Token rightArgument)
Return a new token whose value is the field-wise
multiplication of this token and the argument.
|
protected Token |
UnionToken._multiply(Token rightArgument)
Return a new token whose value is the multiplication of this token
and the argument.
|
protected Token |
ArrayToken._multiply(Token rightArgument)
Return a new token whose value is the value of this token
multiplied by the value of the argument token.
|
protected abstract Token |
AbstractNotConvertibleToken._multiply(Token rightArgument)
Return a new token whose value is the value of this token
multiplied by the value of the argument token.
|
protected Token |
DateToken._multiply(Token rightArgument)
Multiply is not supported for Dates.
|
protected abstract Token |
AbstractConvertibleToken._subtract(Token rightArgument)
Return a new token whose value is the value of the argument token
subtracted from the value of this token.
|
protected Token |
StringToken._subtract(Token rightArgument)
Return a new token whose value is the value of the argument token
subtracted from the value of this token.
|
protected Token |
RecordToken._subtract(Token rightArgument)
Return a new token whose value is the field-wise subtraction
of this token and the argument.
|
protected Token |
UnionToken._subtract(Token rightArgument)
Return a new token whose value is the subtraction of this token
and the argument.
|
protected Token |
ArrayToken._subtract(Token rightArgument)
Return a new token whose value is the value of the argument
token subtracted from the value of this token.
|
protected abstract Token |
AbstractNotConvertibleToken._subtract(Token rightArgument)
Return a new token whose value is the value of the argument
token subtracted from the value of this token.
|
protected Token |
DateToken._subtract(Token rightArgument)
Subtract is not supported for Dates.
|
protected Token |
ArrayToken._subtractReverse(Token rightArgument)
Return a new token whose value is the value of this token
subtracted from the value of the argument token.
|
Token |
Token.add(Token rightArgument)
Return a new token whose value is the sum of this token and
the argument.
|
Token |
AbstractConvertibleToken.add(Token rightArgument)
Return a new token whose value is the sum of this token and
the argument.
|
Token |
MatrixToken.add(Token rightArgument)
Return a new token whose value is the sum of this token and
the argument.
|
Token |
ScalarToken.add(Token rightArgument)
Return a new token whose value is the sum of this token and
the argument.
|
Token |
ArrayToken.add(Token rightArgument)
Addition can occur between arrays, or between an array and a token
of some base type (i.e., anything less than or equal to String).
|
Token |
AbstractNotConvertibleToken.add(Token rightArgument)
Return a new token whose value is the sum of this token and
the argument.
|
Token |
Token.addReverse(Token leftArgument)
Return a new token whose value is the sum of this token
and the argument.
|
Token |
AbstractConvertibleToken.addReverse(Token leftArgument)
Return a new token whose value is the sum of this token
and the argument.
|
Token |
MatrixToken.addReverse(Token leftArgument)
Return a new token whose value is the sum of this token
and the argument.
|
Token |
ScalarToken.addReverse(Token leftArgument)
Return a new token whose value is the sum of this token and
the argument.
|
Token |
ArrayToken.addReverse(Token leftArgument)
If the left-hand argument is a base type token, then convert it
to an array of size one.
|
Token |
AbstractNotConvertibleToken.addReverse(Token leftArgument)
Return a new token whose value is the sum of this token and
the argument.
|
static Token[] |
SmoothToken.align(Token[] args)
Given an array of Tokens, align them by finding the maximum time
of all the tokens, extrapolating all tokens that are instances of
SmoothToken to that time, and returning
an array of tokens with the extrapolated values and derivatives.
|
static Token[] |
SmoothToken.align(Token[] args,
Time time)
Given an array of Tokens and a time, align them by
extrapolating all tokens that are instances of
SmoothToken to that time, and returning
an array of tokens with the extrapolated values and derivatives.
|
Token |
FunctionToken.apply(Token[] args)
Apply this function to the given list of arguments.
|
Token |
Function.apply(Token[] arguments)
Apply the function to the list of arguments, which are tokens.
|
Token[] |
ArrayToken.arrayValue()
Return an array of tokens populated with the contents of this
array token.
|
static Token |
LongMatrixToken.convert(ScalarToken token,
int size)
Convert the specified scalar token into an instance of
LongMatrixToken.
|
static Token |
IntMatrixToken.convert(ScalarToken token,
int size)
Convert the specified scalar token into an instance of
IntMatrixToken.
|
static Token[] |
MatrixToken.createSequence(Token start,
Token increment,
int length)
Create an array of tokens of the given length.
|
static Token[] |
MatrixToken.createTokenSequence(Token start,
Token increment,
int length)
Deprecated.
Use createSequence() instead.
|
Token |
Token.divide(Token rightArgument)
Return a new token whose value is the value of this token
divided by the value of the argument token.
|
Token |
AbstractConvertibleToken.divide(Token rightArgument)
Return a new token whose value is the value of this token
divided by the value of the argument token.
|
Token |
MatrixToken.divide(Token rightArgument)
Return a new token whose value is the value of this token
divided by the value of the argument token.
|
Token |
ScalarToken.divide(Token rightArgument)
Return a new token whose value is the value of this token
divided by the value of the argument token.
|
Token |
ArrayToken.divide(Token rightArgument)
Divide this array token by the specified argument.
|
Token |
AbstractNotConvertibleToken.divide(Token rightArgument)
Return a new token whose value is the value of this token
divided by the value of the argument token.
|
Token |
Token.divideReverse(Token leftArgument)
Return a new token whose value is the value of the argument
token divided by the value of this token.
|
Token |
AbstractConvertibleToken.divideReverse(Token leftArgument)
Return a new token whose value is the value of the argument token
divided by the value of this token.
|
Token |
MatrixToken.divideReverse(Token leftArgument)
Return a new token whose value is the value of the argument
token divided by the value of this token.
|
Token |
ScalarToken.divideReverse(Token leftArgument)
Return a new token whose value is the value of this token
divided into the value of the argument token.
|
Token |
ArrayToken.divideReverse(Token rightArgument)
Divide this array token into the specified argument.
|
Token |
AbstractNotConvertibleToken.divideReverse(Token leftArgument)
Return a new token whose value is the value of the argument
token divided by the value of this token.
|
Token |
RecordToken.get(java.lang.String label)
Return the token with the specified label.
|
Token |
UpdatedArrayToken.getElement(int index)
Return the element at the specified index.
|
Token |
TupleToken.getElement(int index)
Return the element at the specified index.
|
Token |
ArrayToken.getElement(int index)
Return the element at the specified index.
|
Token |
DoubleMatrixToken.getElementAsToken(int row,
int column)
Return the element of the matrix at the specified
row and column in a DoubleToken.
|
Token |
FixMatrixToken.getElementAsToken(int row,
int column)
Return the element of the matrix at the specified
row and column in a FixToken.
|
abstract Token |
MatrixToken.getElementAsToken(int row,
int column)
Return the element of the matrix at the specified
row and column wrapped in a token.
|
Token |
ComplexMatrixToken.getElementAsToken(int row,
int column)
Return the element of the matrix at the specified
row and column in a ComplexToken.
|
Token |
LongMatrixToken.getElementAsToken(int row,
int column)
Return the element of the matrix at the specified
row and column in a LongToken.
|
Token |
IntMatrixToken.getElementAsToken(int row,
int column)
Return the element of the matrix at the specified
row and column in a IntToken.
|
Token |
BooleanMatrixToken.getElementAsToken(int row,
int column)
Return the element of the matrix at the specified
row and column in a BooleanToken.
|
Token |
Token.modulo(Token rightArgument)
Return a new token whose value is the value of this token
modulo the value of the argument token.
|
Token |
AbstractConvertibleToken.modulo(Token rightArgument)
Return a new token whose value is the value of this token
modulo the value of the argument token.
|
Token |
MatrixToken.modulo(Token rightArgument)
Return a new token whose value is this token
modulo the value of the argument token.
|
Token |
ScalarToken.modulo(Token rightArgument)
Return a new token whose value is the value of this token
modulo the value of the argument token.
|
Token |
ArrayToken.modulo(Token rightArgument)
Return a new token whose value is the value of this token
modulo the value of the argument token.
|
Token |
AbstractNotConvertibleToken.modulo(Token rightArgument)
Return a new token whose value is the value of this token
modulo the value of the argument token.
|
Token |
Token.moduloReverse(Token leftArgument)
Return a new token whose value is the value of the argument token
modulo the value of this token.
|
Token |
AbstractConvertibleToken.moduloReverse(Token leftArgument)
Return a new token whose value is the value of the argument token
modulo the value of this token.
|
Token |
MatrixToken.moduloReverse(Token leftArgument)
Return a new token whose value is the value of the argument token
modulo the value of this token.
|
Token |
ScalarToken.moduloReverse(Token leftArgument)
Return a new token whose value is the value of this token
modulo the value of the argument token.
|
Token |
ArrayToken.moduloReverse(Token rightArgument)
Return a new token whose value is the value of the argument
modulo the value of this token.
|
Token |
AbstractNotConvertibleToken.moduloReverse(Token leftArgument)
Return a new token whose value is the value of the argument token
modulo the value of this token.
|
Token |
Token.multiply(Token rightArgument)
Return a new token whose value is the value of this token
multiplied by the value of the argument token.
|
Token |
AbstractConvertibleToken.multiply(Token rightArgument)
Return a new token whose value is the value of this token
multiplied by the value of the argument token.
|
Token |
MatrixToken.multiply(Token rightArgument)
Return a new token whose value is the value of this token
multiplied by the value of the argument token.
|
Token |
ScalarToken.multiply(Token rightArgument)
Return a new token whose value is the value of this token
multiplied by the value of the argument token.
|
Token |
ArrayToken.multiply(Token rightArgument)
Multiply this array token by the specified argument.
|
Token |
AbstractNotConvertibleToken.multiply(Token rightArgument)
Return a new token whose value is the value of this token
multiplied by the value of the argument token.
|
Token |
Token.multiplyReverse(Token leftArgument)
Return a new token whose value is the value of the argument
token multiplied by the value of this token.
|
Token |
AbstractConvertibleToken.multiplyReverse(Token leftArgument)
Return a new token whose value is the value of the argument token
multiplied by the value of this token.
|
Token |
MatrixToken.multiplyReverse(Token leftArgument)
Return a new token whose value is the value of the argument token
multiplied by the value of this token.
|
Token |
ScalarToken.multiplyReverse(Token leftArgument)
Return a new token whose value is the value of this token
multiplied by the value of the argument token.
|
Token |
ArrayToken.multiplyReverse(Token leftArgument)
Multiply this array token by the specified argument.
|
Token |
AbstractNotConvertibleToken.multiplyReverse(Token leftArgument)
Return a new token whose value is the value of the argument token
multiplied by the value of this token.
|
Token |
DoubleMatrixToken.one()
Return a new Token representing the left multiplicative
identity.
|
Token |
DoubleToken.one()
Returns a DoubleToken with value 1.0.
|
Token |
Token.one()
Returns a new Token representing the multiplicative identity.
|
Token |
TupleToken.one()
Return a new TupleToken representing the multiplicative
identity.
|
Token |
FixToken.one()
Returns a new Token representing the multiplicative identity
with the same precision as this FixToken.
|
Token |
UnsignedByteToken.one()
Returns an UnsignedByteToken with value 1.
|
Token |
FixMatrixToken.one()
Return a new Token representing the left multiplicative
identity with the same precision as the current
FixMatrixToken.
|
Token |
ShortToken.one()
Returns an ShortToken with value 1.
|
Token |
ComplexToken.one()
Returns a new ComplexToken with value 1.0.
|
Token |
ComplexMatrixToken.one()
Return a new Token representing the left multiplicative
identity.
|
Token |
FloatToken.one()
Returns a FloatToken with value 1.0.
|
Token |
LongMatrixToken.one()
Return a new Token representing the left multiplicative
identity.
|
Token |
IntToken.one()
Returns an IntToken with value 1.
|
Token |
RecordToken.one()
Returns a new RecordToken representing the multiplicative identity.
|
Token |
LongToken.one()
Returns a LongToken with value 1.
|
Token |
PetiteToken.one()
Returns a PetiteToken with value nearest 1.0.......
|
Token |
IntMatrixToken.one()
Return a new Token representing the left multiplicative
identity.
|
Token |
UnionToken.one()
Returns a new UnionToken representing the multiplicative identity.
|
Token |
ArrayToken.one()
Return a new ArrayToken representing the multiplicative
identity.
|
Token |
BooleanToken.one()
Returns a token representing the multiplicative identity.
|
Token |
BooleanMatrixToken.one()
Return a new Token representing the left multiplicative
identity.
|
Token |
DoubleMatrixToken.oneRight()
Return a new Token representing the right multiplicative
identity.
|
Token |
FixMatrixToken.oneRight()
Return a new Token representing the right multiplicative
identity with the same precision as the current
FixMatrixToken..
|
Token |
MatrixToken.oneRight()
Return a new Token representing the right multiplicative
identity.
|
Token |
ComplexMatrixToken.oneRight()
Return a new Token representing the right multiplicative
identity.
|
Token |
LongMatrixToken.oneRight()
Return a new Token representing the right multiplicative
identity.
|
Token |
IntMatrixToken.oneRight()
Return a new Token representing the right multiplicative
identity.
|
Token |
BooleanMatrixToken.oneRight()
Return a new Token representing the right multiplicative
identity.
|
Token |
Token.pow(int times)
Return a new token computed as follows:
For positive times arguments, the result represents the product of this token multiplied by itself the number of times given by the argument. |
Token |
Token.subtract(Token rightArgument)
Return a new token whose value is the value of the argument token
subtracted from the value of this token.
|
Token |
AbstractConvertibleToken.subtract(Token rightArgument)
Return a new token whose value is the value of the argument token
subtracted from the value of this token.
|
Token |
MatrixToken.subtract(Token rightArgument)
Return a new token whose value is the value of the argument token
subtracted from the value of this token.
|
Token |
ScalarToken.subtract(Token rightArgument)
Return a new token whose value is the value of the argument
token subtracted from the value of this token.
|
Token |
ArrayToken.subtract(Token rightArgument)
Subtract from this array token the specified argument.
|
Token |
AbstractNotConvertibleToken.subtract(Token rightArgument)
Return a new token whose value is the value of the argument token
subtracted from the value of this token.
|
Token |
Token.subtractReverse(Token leftArgument)
Return a new token whose value is the value of this token
subtracted from the value of the argument token.
|
Token |
AbstractConvertibleToken.subtractReverse(Token leftArgument)
Return a new token whose value is the value of this token
subtracted from the value of the argument token.
|
Token |
MatrixToken.subtractReverse(Token leftArgument)
Return a new token whose value is the value of this token
subtracted from the value of the argument token.
|
Token |
ScalarToken.subtractReverse(Token leftArgument)
Return a new token whose value is the value of the argument
token subtracted from the value of this token.
|
Token |
ArrayToken.subtractReverse(Token rightArgument)
Subtract this array token from the specified argument.
|
Token |
AbstractNotConvertibleToken.subtractReverse(Token leftArgument)
Return a new token whose value is the value of this token
subtracted from the value of the argument token.
|
Token[] |
TupleToken.tupleValue()
Return an array of tokens populated with the contents of this
array token.
|
Token |
UnionToken.value()
Return the value of this token.
|
Token |
DoubleMatrixToken.zero()
Return a new Token representing the additive identity.
|
Token |
DoubleToken.zero()
Returns a DoubleToken with value 0.0.
|
Token |
Token.zero()
Returns a new token representing the additive identity.
|
Token |
TupleToken.zero()
Returns a new TupleToken representing the additive identity.
|
Token |
FixToken.zero()
Return a new token representing the additive identity with
the same precision as this FixToken.
|
Token |
UnsignedByteToken.zero()
Returns an UnsignedByteToken with value 0.
|
Token |
FixMatrixToken.zero()
Return a new Token representing the additive identity with the
same precision as the current FixMatrixToken.
|
Token |
ShortToken.zero()
Returns an ShortToken with value 0.
|
Token |
ComplexToken.zero()
Returns a new ComplexToken with value Complex.ZERO.
|
Token |
StringToken.zero()
Return a StringToken containing an empty string, which is considered
as the additive identity of string.
|
Token |
ComplexMatrixToken.zero()
Return a new Token representing the additive identity.
|
Token |
FloatToken.zero()
Returns a FloatToken with value 0.0.
|
Token |
LongMatrixToken.zero()
Return a new Token representing the additive identity.
|
Token |
IntToken.zero()
Returns an IntToken with value 0.
|
Token |
RecordToken.zero()
Returns a new RecordToken representing the additive identity.
|
Token |
LongToken.zero()
Returns a LongToken with value 0.
|
Token |
PetiteToken.zero()
Returns a PetiteToken with value 0.0.
|
Token |
IntMatrixToken.zero()
Return a new Token representing the additive identity.
|
Token |
UnionToken.zero()
Returns a new UnionToken representing the additive identity.
|
Token |
ArrayToken.zero()
Returns a new ArrayToken representing the additive identity.
|
Token |
BooleanToken.zero()
Returns a token representing the additive identity.
|
Token |
BooleanMatrixToken.zero()
Return a new Token representing the additive identity.
|
Modifier and Type | Method and Description |
---|---|
protected abstract Token |
AbstractConvertibleToken._add(Token rightArgument)
Return a new token whose value is the value of the
argument Token added to the value of this Token.
|
protected Token |
StringToken._add(Token rightArgument)
Return a new token whose value is the value of the
argument Token added to the value of this Token.
|
protected Token |
RecordToken._add(Token rightArgument)
Return a new token whose value is the field-wise addition of
this token and the argument.
|
protected Token |
UnionToken._add(Token rightArgument)
Return a new token whose value is the sum of this token and
the argument.
|
protected Token |
ArrayToken._add(Token rightArgument)
Return a new token whose value is the value of the argument
token added to the value of this token.
|
protected abstract Token |
AbstractNotConvertibleToken._add(Token rightArgument)
Return a new token whose value is the value of the argument
token added to the value of this token.
|
protected Token |
DateToken._add(Token rightArgument)
Subtract is not supported for Dates.
|
protected MatrixToken |
DoubleMatrixToken._addElement(Token rightArgument)
Return a new token whose value is the value of the argument
Token added to the value of each element of this Token.
|
protected MatrixToken |
FixMatrixToken._addElement(Token rightArgument)
Return a new token whose value is the value of the argument
Token added from the value of each element of this Token.
|
protected MatrixToken |
MatrixToken._addElement(Token rightArgument)
Return a new token whose value is the value of the argument
Token added to the value of each element of this Token.
|
protected MatrixToken |
ComplexMatrixToken._addElement(Token rightArgument)
Return a new token whose value is the value of the argument
Token added to the value of each element of this Token.
|
protected MatrixToken |
LongMatrixToken._addElement(Token rightArgument)
Return a new token whose value is the value of the argument
Token added to the value of each element of this Token.
|
protected MatrixToken |
IntMatrixToken._addElement(Token rightArgument)
Return a new token whose value is the value of the argument
Token added to the value of each element of this Token.
|
protected RecordToken |
OrderedRecordToken._createRecordToken(java.lang.String[] labels,
Token[] values) |
protected RecordToken |
RecordToken._createRecordToken(java.lang.String[] labels,
Token[] values)
Create a new RecordToken.
|
protected abstract Token |
AbstractConvertibleToken._divide(Token rightArgument)
Return a new token whose value is the value of this token
divided by the value of the argument token.
|
protected Token |
StringToken._divide(Token rightArgument)
Return a new token whose value is the value of this token
divided by the value of the argument token.
|
protected Token |
RecordToken._divide(Token rightArgument)
Return a new token whose value is the field-wise division of
this token and the argument.
|
protected Token |
UnionToken._divide(Token rightArgument)
Return a new token whose value is the division of
this token and the argument.
|
protected Token |
ArrayToken._divide(Token rightArgument)
Return a new token whose value is the value of this token
divided by the value of the argument token.
|
protected abstract Token |
AbstractNotConvertibleToken._divide(Token rightArgument)
Return a new token whose value is the value of this token
divided by the value of the argument token.
|
protected Token |
DateToken._divide(Token rightArgument)
Subtract is not supported for Dates.
|
protected MatrixToken |
DoubleMatrixToken._divideElement(Token rightArgument)
Return a new token whose elements are the result of dividing
the elements of this token by the argument.
|
protected MatrixToken |
MatrixToken._divideElement(Token rightArgument)
Return a new token whose elements are the result of dividing
the elements of this token by the argument.
|
protected MatrixToken |
ComplexMatrixToken._divideElement(Token rightArgument)
Return a new token whose elements are the result of dividing
the elements of this token by the argument.
|
protected MatrixToken |
LongMatrixToken._divideElement(Token rightArgument)
Return a new token whose elements are the result of dividing
the elements of this token by the argument.
|
protected MatrixToken |
IntMatrixToken._divideElement(Token rightArgument)
Return a new token whose elements are the result of dividing
the elements of this token by the argument.
|
protected Token |
ArrayToken._divideReverse(Token rightArgument)
Return a new token whose value is the value of this token
divided into the value of the argument token.
|
protected BooleanToken |
ObjectToken._isCloseTo(Token rightArgument,
double epsilon)
Test for closeness of the values of this Token and the argument
Token.
|
protected BooleanToken |
OrderedRecordToken._isCloseTo(Token rightArgument,
double epsilon)
Test whether the value of this token is close to the first
argument, where "close" means that the distance between them
is less than or equal to the second argument.
|
protected abstract BooleanToken |
AbstractConvertibleToken._isCloseTo(Token token,
double epsilon)
Test that the value of this token is close to the first argument,
where "close" means that the distance between them is less than
or equal to the second argument.
|
protected BooleanToken |
StringToken._isCloseTo(Token rightArgument,
double epsilon)
Test for closeness of the values of this Token and the argument
Token.
|
protected BooleanToken |
XMLToken._isCloseTo(Token rightArgument,
double epsilon)
Test for closeness of the values of this Token and the argument
Token.
|
protected BooleanToken |
RecordToken._isCloseTo(Token rightArgument,
double epsilon)
Test whether the value of this token is close to the first
argument, where "close" means that the distance between them
is less than or equal to the second argument.
|
protected BooleanToken |
UnionToken._isCloseTo(Token rightArgument,
double epsilon)
Test whether the value of this token is close to the first
argument, where "close" means that the distance between them
is less than or equal to the second argument.
|
protected BooleanToken |
ArrayToken._isCloseTo(Token token,
double epsilon)
Test whether the value of this token is close to the first argument,
where "close" means that the distance between them is less than
or equal to the second argument.
|
protected abstract BooleanToken |
AbstractNotConvertibleToken._isCloseTo(Token rightArgument,
double epsilon)
Test that the value of this Token is close to the first argument,
where "close" means that the distance between them is less than
or equal to the second argument.
|
protected BooleanToken |
DateToken._isCloseTo(Token token,
double epsilon)
The isCloseTo() method brings both tokens to the same precision.
|
protected BooleanToken |
ObjectToken._isEqualTo(Token rightArgument)
Test for equality of the values of this Token and the argument
Token.
|
protected BooleanToken |
OrderedRecordToken._isEqualTo(Token rightArgument)
Return true if the specified token is equal to this one.
|
protected abstract BooleanToken |
AbstractConvertibleToken._isEqualTo(Token token)
Test for equality of the values of this token and the argument.
|
protected BooleanToken |
StringToken._isEqualTo(Token rightArgument)
Test for equality of the values of this Token and the argument
Token.
|
protected BooleanToken |
XMLToken._isEqualTo(Token rightArgument)
Test for equality of the values of this Token and the argument
Token.
|
protected BooleanToken |
RecordToken._isEqualTo(Token rightArgument)
Return true if the specified token is equal to this one.
|
protected BooleanToken |
UnionToken._isEqualTo(Token rightArgument)
Return true if the specified token is equal to this one.
|
protected BooleanToken |
ArrayToken._isEqualTo(Token token)
Return a true-valued token if the argument is equal to this one.
|
protected BooleanToken |
AbstractNotConvertibleToken._isEqualTo(Token token)
Test for equality of the values of this token and the argument.
|
protected BooleanToken |
DateToken._isEqualTo(Token rightArgument)
Return true of the the value of this token is equal
to the value of the argument according to java.util.Date.
|
protected abstract Token |
AbstractConvertibleToken._modulo(Token rightArgument)
Return a new token whose value is the value of this token
modulo the value of the argument token.
|
protected Token |
StringToken._modulo(Token rightArgument)
Return a new token whose value is the value of this token
modulo the value of the argument token.
|
protected Token |
RecordToken._modulo(Token rightArgument)
Return a new token whose value is the field-wise modulo of
this token and the argument.
|
protected Token |
UnionToken._modulo(Token rightArgument)
Return a new token whose value is the modulo of this token and
the argument.
|
protected Token |
ArrayToken._modulo(Token rightArgument)
Return a new token whose value is the value of this token
modulo the value of the argument token.
|
protected abstract Token |
AbstractNotConvertibleToken._modulo(Token rightArgument)
Return a new token whose value is the value of this token
modulo the value of the argument token.
|
protected Token |
DateToken._modulo(Token rightArgument)
Modulo is not supported for Dates.
|
protected MatrixToken |
DoubleMatrixToken._moduloElement(Token rightArgument)
Return a new token whose elements are the remainders of
the elements of this token when divided by the argument.
|
protected MatrixToken |
MatrixToken._moduloElement(Token rightArgument)
Return a new token whose elements are the modulo of
the elements of this token by the argument.
|
protected MatrixToken |
LongMatrixToken._moduloElement(Token rightArgument)
Return a new token whose elements are the remainders of
the elements of this token when divided by the argument.
|
protected MatrixToken |
IntMatrixToken._moduloElement(Token rightArgument)
Return a new token whose elements are the remainders of
the elements of this token when divided by the argument.
|
protected Token |
ArrayToken._moduloReverse(Token rightArgument)
Return a new token whose value is the value of this token
modulo the value of the argument token.
|
protected abstract Token |
AbstractConvertibleToken._multiply(Token rightArgument)
Return a new token whose value is the value of this token
multiplied by the value of the argument token.
|
protected Token |
StringToken._multiply(Token rightArgument)
Return a new token whose value is the value of this token
multiplied by the value of the argument token.
|
protected Token |
RecordToken._multiply(Token rightArgument)
Return a new token whose value is the field-wise
multiplication of this token and the argument.
|
protected Token |
UnionToken._multiply(Token rightArgument)
Return a new token whose value is the multiplication of this token
and the argument.
|
protected Token |
ArrayToken._multiply(Token rightArgument)
Return a new token whose value is the value of this token
multiplied by the value of the argument token.
|
protected abstract Token |
AbstractNotConvertibleToken._multiply(Token rightArgument)
Return a new token whose value is the value of this token
multiplied by the value of the argument token.
|
protected Token |
DateToken._multiply(Token rightArgument)
Multiply is not supported for Dates.
|
protected MatrixToken |
DoubleMatrixToken._multiplyElement(Token rightArgument)
Return a new token whose value is the value of this token
multiplied by the value of the argument token.
|
protected MatrixToken |
FixMatrixToken._multiplyElement(Token rightArgument)
Return a new token whose value is the value of the argument
Token multiplyed from the value of each element of this Token.
|
protected MatrixToken |
MatrixToken._multiplyElement(Token rightArgument)
Return a new token whose value is the value of this token
multiplied by the value of the argument scalar token.
|
protected MatrixToken |
ComplexMatrixToken._multiplyElement(Token rightArgument)
Return a new token whose value is the value of this token
multiplied by the value of the argument token.
|
protected MatrixToken |
LongMatrixToken._multiplyElement(Token rightArgument)
Return a new token whose value is the value of this token
multiplied by the value of the argument scalar token.
|
protected MatrixToken |
IntMatrixToken._multiplyElement(Token rightArgument)
Return a new token whose value is the value of this token
multiplied by the value of the argument scalar token.
|
protected abstract Token |
AbstractConvertibleToken._subtract(Token rightArgument)
Return a new token whose value is the value of the argument token
subtracted from the value of this token.
|
protected Token |
StringToken._subtract(Token rightArgument)
Return a new token whose value is the value of the argument token
subtracted from the value of this token.
|
protected Token |
RecordToken._subtract(Token rightArgument)
Return a new token whose value is the field-wise subtraction
of this token and the argument.
|
protected Token |
UnionToken._subtract(Token rightArgument)
Return a new token whose value is the subtraction of this token
and the argument.
|
protected Token |
ArrayToken._subtract(Token rightArgument)
Return a new token whose value is the value of the argument
token subtracted from the value of this token.
|
protected abstract Token |
AbstractNotConvertibleToken._subtract(Token rightArgument)
Return a new token whose value is the value of the argument
token subtracted from the value of this token.
|
protected Token |
DateToken._subtract(Token rightArgument)
Subtract is not supported for Dates.
|
protected MatrixToken |
DoubleMatrixToken._subtractElement(Token rightArgument)
Return a new token whose value is the value of the argument
Token subtracted from the value of each element of this Token.
|
protected MatrixToken |
FixMatrixToken._subtractElement(Token rightArgument)
Return a new token whose value is the value of the argument
Token subtracted from the value of each element of this Token.
|
protected MatrixToken |
MatrixToken._subtractElement(Token rightArgument)
Return a new token whose value is the value of the argument
Token subtracted from the value of each element of this
Token.
|
protected MatrixToken |
ComplexMatrixToken._subtractElement(Token rightArgument)
Return a new token whose value is the value of the argument
Token subtracted from the value of each element of this Token.
|
protected MatrixToken |
LongMatrixToken._subtractElement(Token rightArgument)
Return a new token whose value is the value of the argument
Token subtracted from the value of each element of this Token.
|
protected MatrixToken |
IntMatrixToken._subtractElement(Token rightArgument)
Return a new token whose value is the value of the argument
Token subtracted from the value of each element of this Token.
|
protected MatrixToken |
DoubleMatrixToken._subtractElementReverse(Token rightArgument)
Return a new token whose value is the value of the argument
Token subtracted from the value of each element of this Token.
|
protected MatrixToken |
FixMatrixToken._subtractElementReverse(Token rightArgument)
Return a new token whose value is the value of the argument
Token subtracted from the value of each element of this Token.
|
protected MatrixToken |
MatrixToken._subtractElementReverse(Token rightArgument)
Return a new token whose value is the value of each element of
this Token subtracted from the value the argument Token.
|
protected MatrixToken |
ComplexMatrixToken._subtractElementReverse(Token rightArgument)
Return a new token whose value is the value of the argument
Token subtracted from the value of each element of this Token.
|
protected MatrixToken |
LongMatrixToken._subtractElementReverse(Token rightArgument)
Return a new token whose value is the value of the argument
Token subtracted from the value of each element of this Token.
|
protected MatrixToken |
IntMatrixToken._subtractElementReverse(Token rightArgument)
Return a new token whose value is the value of the argument
Token subtracted from the value of each element of this Token.
|
protected Token |
ArrayToken._subtractReverse(Token rightArgument)
Return a new token whose value is the value of this token
subtracted from the value of the argument token.
|
Token |
Token.add(Token rightArgument)
Return a new token whose value is the sum of this token and
the argument.
|
Token |
AbstractConvertibleToken.add(Token rightArgument)
Return a new token whose value is the sum of this token and
the argument.
|
Token |
MatrixToken.add(Token rightArgument)
Return a new token whose value is the sum of this token and
the argument.
|
Token |
ScalarToken.add(Token rightArgument)
Return a new token whose value is the sum of this token and
the argument.
|
Token |
ArrayToken.add(Token rightArgument)
Addition can occur between arrays, or between an array and a token
of some base type (i.e., anything less than or equal to String).
|
Token |
AbstractNotConvertibleToken.add(Token rightArgument)
Return a new token whose value is the sum of this token and
the argument.
|
Token |
Token.addReverse(Token leftArgument)
Return a new token whose value is the sum of this token
and the argument.
|
Token |
AbstractConvertibleToken.addReverse(Token leftArgument)
Return a new token whose value is the sum of this token
and the argument.
|
Token |
MatrixToken.addReverse(Token leftArgument)
Return a new token whose value is the sum of this token
and the argument.
|
Token |
ScalarToken.addReverse(Token leftArgument)
Return a new token whose value is the sum of this token and
the argument.
|
Token |
ArrayToken.addReverse(Token leftArgument)
If the left-hand argument is a base type token, then convert it
to an array of size one.
|
Token |
AbstractNotConvertibleToken.addReverse(Token leftArgument)
Return a new token whose value is the sum of this token and
the argument.
|
static Token[] |
SmoothToken.align(Token[] args)
Given an array of Tokens, align them by finding the maximum time
of all the tokens, extrapolating all tokens that are instances of
SmoothToken to that time, and returning
an array of tokens with the extrapolated values and derivatives.
|
static Token[] |
SmoothToken.align(Token[] args,
Time time)
Given an array of Tokens and a time, align them by
extrapolating all tokens that are instances of
SmoothToken to that time, and returning
an array of tokens with the extrapolated values and derivatives.
|
Token |
FunctionToken.apply(Token[] args)
Apply this function to the given list of arguments.
|
Token |
Function.apply(Token[] arguments)
Apply the function to the list of arguments, which are tokens.
|
static MatrixToken |
MatrixToken.arrayToMatrix(Token[] tokens,
int rows,
int columns)
Create a new instance of a MatrixToken subclass with the
given number of rows and columns.
|
static MatrixToken |
MatrixToken.arrayToMatrix(Type type,
Token[] tokens,
int rows,
int columns)
Create a new instance of a MatrixToken subclass with the given
element type and number of rows and columns.
|
BitwiseOperationToken |
BitwiseOperationToken.bitwiseAnd(Token rightArgument)
Returns a token representing the bitwise AND of this token and
the given token.
|
BitwiseOperationToken |
ScalarToken.bitwiseAnd(Token rightArgument)
Returns a token representing the bitwise AND of this token and
the given token.
|
BitwiseOperationToken |
BitwiseOperationToken.bitwiseOr(Token rightArgument)
Returns a token representing the bitwise OR of this token and
the given token.
|
BitwiseOperationToken |
ScalarToken.bitwiseOr(Token rightArgument)
Returns a token representing the bitwise OR of this token and
the given token.
|
BitwiseOperationToken |
BitwiseOperationToken.bitwiseXor(Token rightArgument)
Returns a token representing the bitwise XOR of this token and
the given token.
|
BitwiseOperationToken |
ScalarToken.bitwiseXor(Token rightArgument)
Returns a token representing the bitwise XOR of this token and
the given token.
|
BooleanToken |
ArrayToken.contains(Token element)
Return a Boolean token that identifies whether the given token is an
element of this array.
|
static ObjectToken |
ObjectToken.convert(Token token)
Convert the specified token into an instance of ObjectToken.
|
static DoubleMatrixToken |
DoubleMatrixToken.convert(Token token)
Convert the specified token into an instance of DoubleMatrixToken.
|
static DoubleToken |
DoubleToken.convert(Token token)
Convert the specified token into an instance of DoubleToken.
|
static FixToken |
FixToken.convert(Token token)
Convert the specified token into an instance of FixToken.
|
static UnsignedByteToken |
UnsignedByteToken.convert(Token token)
Convert the specified token into an instance of
UnsignedByteToken.
|
static FixMatrixToken |
FixMatrixToken.convert(Token token)
Convert the specified token into an instance of FixMatrixToken.
|
static ShortToken |
ShortToken.convert(Token token)
Convert the specified token into an instance of ShortToken.
|
static ComplexToken |
ComplexToken.convert(Token token)
Convert the specified token into an instance of ComplexToken.
|
static StringToken |
StringToken.convert(Token token)
Convert the specified token into an instance of StringToken.
|
static ComplexMatrixToken |
ComplexMatrixToken.convert(Token token)
Convert the specified token into an instance of ComplexMatrixToken.
|
static FloatToken |
FloatToken.convert(Token token)
Convert the specified token into an instance of FloatToken.
|
static LongMatrixToken |
LongMatrixToken.convert(Token token)
Convert the specified token into an instance of LongMatrixToken.
|
static XMLToken |
XMLToken.convert(Token token)
Convert the specified token into an instance of XMLToken.
|
static IntToken |
IntToken.convert(Token token)
Convert the specified token into an instance of IntToken.
|
static LongToken |
LongToken.convert(Token token)
Convert the specified token into an instance of LongToken.
|
static PetiteToken |
PetiteToken.convert(Token token)
Convert the specified token into an instance of PetiteToken.
|
static IntMatrixToken |
IntMatrixToken.convert(Token token)
Convert the specified token into an instance of IntMatrixToken.
|
static DateToken |
DateToken.convert(Token token)
Convert the specified token into an instance of DateToken.
|
static BooleanToken |
BooleanToken.convert(Token token)
Convert the specified token into an instance of BooleanToken.
|
static BooleanMatrixToken |
BooleanMatrixToken.convert(Token token)
Convert the specified token into an instance of BooleanMatrixToken.
|
static MatrixToken |
MatrixToken.create(Token[] tokens,
int rows,
int columns)
Deprecated.
Use arrayToMatrix() instead.
|
static Token[] |
MatrixToken.createSequence(Token start,
Token increment,
int length)
Create an array of tokens of the given length.
|
static Token[] |
MatrixToken.createTokenSequence(Token start,
Token increment,
int length)
Deprecated.
Use createSequence() instead.
|
Token |
Token.divide(Token rightArgument)
Return a new token whose value is the value of this token
divided by the value of the argument token.
|
Token |
AbstractConvertibleToken.divide(Token rightArgument)
Return a new token whose value is the value of this token
divided by the value of the argument token.
|
Token |
MatrixToken.divide(Token rightArgument)
Return a new token whose value is the value of this token
divided by the value of the argument token.
|
Token |
ScalarToken.divide(Token rightArgument)
Return a new token whose value is the value of this token
divided by the value of the argument token.
|
Token |
ArrayToken.divide(Token rightArgument)
Divide this array token by the specified argument.
|
Token |
AbstractNotConvertibleToken.divide(Token rightArgument)
Return a new token whose value is the value of this token
divided by the value of the argument token.
|
Token |
Token.divideReverse(Token leftArgument)
Return a new token whose value is the value of the argument
token divided by the value of this token.
|
Token |
AbstractConvertibleToken.divideReverse(Token leftArgument)
Return a new token whose value is the value of the argument token
divided by the value of this token.
|
Token |
MatrixToken.divideReverse(Token leftArgument)
Return a new token whose value is the value of the argument
token divided by the value of this token.
|
Token |
ScalarToken.divideReverse(Token leftArgument)
Return a new token whose value is the value of this token
divided into the value of the argument token.
|
Token |
ArrayToken.divideReverse(Token rightArgument)
Divide this array token into the specified argument.
|
Token |
AbstractNotConvertibleToken.divideReverse(Token leftArgument)
Return a new token whose value is the value of the argument
token divided by the value of this token.
|
ArrayToken |
ArrayToken.elementAdd(Token token)
Add the given token to each element of this array.
|
ArrayToken |
ArrayToken.elementDivide(Token token)
Divide each element of this array by the given token.
|
ArrayToken |
ArrayToken.elementModulo(Token token)
Modulo each element of this array by the given token.
|
ArrayToken |
ArrayToken.elementMultiply(Token token)
Multiply each element of this array by the given token.
|
ArrayToken |
ArrayToken.elementSubtract(Token token)
Subtract the given token from each element of this array.
|
BooleanToken |
Token.isCloseTo(Token token)
Test that the value of this Token is close to the argument
Token.
|
BooleanToken |
ObjectToken.isCloseTo(Token token,
double epsilon)
Test that the value of this token is close to the first argument,
where "close" means that the distance between them is less than
or equal to the second argument.
|
BooleanToken |
Token.isCloseTo(Token token,
double epsilon)
Test that the value of this Token is close to the first argument,
where "close" means that the distance between them is less than
or equal to the second argument.
|
BooleanToken |
ActorToken.isCloseTo(Token rightArgument,
double epsilon)
Test for closeness of the values of this Token and the argument
Token.
|
BooleanToken |
AbstractConvertibleToken.isCloseTo(Token token,
double epsilon)
Test that the value of this token is close to the first argument,
where "close" means that the distance between them is less than
or equal to the second argument.
|
BooleanToken |
MatrixToken.isCloseTo(Token rightArgument,
double epsilon)
Test whether the value of this Token is close to the argument
Token.
|
BooleanToken |
FunctionToken.isCloseTo(Token rightArgument,
double epsilon)
Test for closeness of the values of this Token and the argument
Token.
|
BooleanToken |
XMLToken.isCloseTo(Token token,
double epsilon)
Test that the value of this token is close to the first argument,
where "close" means that the distance between them is less than
or equal to the second argument.
|
BooleanToken |
ScalarToken.isCloseTo(Token rightArgument,
double epsilon)
Test whether the value of this Token is close to the argument
Token.
|
BooleanToken |
ArrayToken.isCloseTo(Token token,
double epsilon)
Test that the value of this token is close to the first argument,
where "close" means that the distance between them is less than
or equal to the second argument.
|
BooleanToken |
AbstractNotConvertibleToken.isCloseTo(Token token,
double epsilon)
Test that the value of this token is close to the first argument,
where "close" means that the distance between them is less than
or equal to the second argument.
|
BooleanToken |
ObjectToken.isEqualTo(Token rightArgument)
Compare this ObjectToken to the given argument, and return true if the
values contained in the two are the same Java object.
|
BooleanToken |
Token.isEqualTo(Token rightArgument)
Test for equality of the values of this Token and the argument
Token.
|
BooleanToken |
TupleToken.isEqualTo(Token token)
Return a true-valued token if the argument is equal to this one.
|
BooleanToken |
ActorToken.isEqualTo(Token token)
Model for equality of the values of this Token and the argument Token.
|
BooleanToken |
AbstractConvertibleToken.isEqualTo(Token rightArgument)
Test for equality of the values of this Token and the argument
Token.
|
BooleanToken |
MatrixToken.isEqualTo(Token rightArgument)
Test for equality of the values of this Token and the argument
Token.
|
BooleanToken |
FunctionToken.isEqualTo(Token rightArgument)
Test for equality of the values of this Token and the argument
Token.
|
BooleanToken |
ScalarToken.isEqualTo(Token rightArgument)
Test for equality of the values of this Token and the argument
Token.
|
BooleanToken |
AbstractNotConvertibleToken.isEqualTo(Token rightArgument)
Test for equality of the values of this token and the argument
token.
|
Token |
Token.modulo(Token rightArgument)
Return a new token whose value is the value of this token
modulo the value of the argument token.
|
Token |
AbstractConvertibleToken.modulo(Token rightArgument)
Return a new token whose value is the value of this token
modulo the value of the argument token.
|
Token |
MatrixToken.modulo(Token rightArgument)
Return a new token whose value is this token
modulo the value of the argument token.
|
Token |
ScalarToken.modulo(Token rightArgument)
Return a new token whose value is the value of this token
modulo the value of the argument token.
|
Token |
ArrayToken.modulo(Token rightArgument)
Return a new token whose value is the value of this token
modulo the value of the argument token.
|
Token |
AbstractNotConvertibleToken.modulo(Token rightArgument)
Return a new token whose value is the value of this token
modulo the value of the argument token.
|
Token |
Token.moduloReverse(Token leftArgument)
Return a new token whose value is the value of the argument token
modulo the value of this token.
|
Token |
AbstractConvertibleToken.moduloReverse(Token leftArgument)
Return a new token whose value is the value of the argument token
modulo the value of this token.
|
Token |
MatrixToken.moduloReverse(Token leftArgument)
Return a new token whose value is the value of the argument token
modulo the value of this token.
|
Token |
ScalarToken.moduloReverse(Token leftArgument)
Return a new token whose value is the value of this token
modulo the value of the argument token.
|
Token |
ArrayToken.moduloReverse(Token rightArgument)
Return a new token whose value is the value of the argument
modulo the value of this token.
|
Token |
AbstractNotConvertibleToken.moduloReverse(Token leftArgument)
Return a new token whose value is the value of the argument token
modulo the value of this token.
|
Token |
Token.multiply(Token rightArgument)
Return a new token whose value is the value of this token
multiplied by the value of the argument token.
|
Token |
AbstractConvertibleToken.multiply(Token rightArgument)
Return a new token whose value is the value of this token
multiplied by the value of the argument token.
|
Token |
MatrixToken.multiply(Token rightArgument)
Return a new token whose value is the value of this token
multiplied by the value of the argument token.
|
Token |
ScalarToken.multiply(Token rightArgument)
Return a new token whose value is the value of this token
multiplied by the value of the argument token.
|
Token |
ArrayToken.multiply(Token rightArgument)
Multiply this array token by the specified argument.
|
Token |
AbstractNotConvertibleToken.multiply(Token rightArgument)
Return a new token whose value is the value of this token
multiplied by the value of the argument token.
|
Token |
Token.multiplyReverse(Token leftArgument)
Return a new token whose value is the value of the argument
token multiplied by the value of this token.
|
Token |
AbstractConvertibleToken.multiplyReverse(Token leftArgument)
Return a new token whose value is the value of the argument token
multiplied by the value of this token.
|
Token |
MatrixToken.multiplyReverse(Token leftArgument)
Return a new token whose value is the value of the argument token
multiplied by the value of this token.
|
Token |
ScalarToken.multiplyReverse(Token leftArgument)
Return a new token whose value is the value of this token
multiplied by the value of the argument token.
|
Token |
ArrayToken.multiplyReverse(Token leftArgument)
Multiply this array token by the specified argument.
|
Token |
AbstractNotConvertibleToken.multiplyReverse(Token leftArgument)
Return a new token whose value is the value of the argument token
multiplied by the value of this token.
|
static java.lang.String |
Token.notSupportedConversionMessage(Token token,
java.lang.String typeString)
Return a string with an error message that states that
the given token cannot be converted to the given token type.
|
static java.lang.String |
AbstractNotConvertibleToken.notSupportedDifferentClassesMessage(java.lang.String operation,
Token firstToken,
Token secondToken)
Return a string with an error message that states that the
given operation is not supported between two tokens, because
they have incomparable types and cannot be converted to the
same type.
|
static java.lang.String |
Token.notSupportedIncomparableConversionMessage(Token token,
java.lang.String typeString)
Return a string with an error message that states that
the given token cannot be converted to the given token type.
|
static java.lang.String |
Token.notSupportedIncomparableMessage(java.lang.String operation,
Token firstToken,
Token secondToken)
Return a string with an error message that states that the
given operation is not supported between two tokens, because
they have incomparable types and cannot be converted to the
same type.
|
static java.lang.String |
Token.notSupportedMessage(java.lang.String operation,
Token firstToken,
Token secondToken)
Return a string with an error message that states that the
given operation is not supported between two tokens.
|
Token |
Token.subtract(Token rightArgument)
Return a new token whose value is the value of the argument token
subtracted from the value of this token.
|
Token |
AbstractConvertibleToken.subtract(Token rightArgument)
Return a new token whose value is the value of the argument token
subtracted from the value of this token.
|
Token |
MatrixToken.subtract(Token rightArgument)
Return a new token whose value is the value of the argument token
subtracted from the value of this token.
|
Token |
ScalarToken.subtract(Token rightArgument)
Return a new token whose value is the value of the argument
token subtracted from the value of this token.
|
Token |
ArrayToken.subtract(Token rightArgument)
Subtract from this array token the specified argument.
|
Token |
AbstractNotConvertibleToken.subtract(Token rightArgument)
Return a new token whose value is the value of the argument token
subtracted from the value of this token.
|
Token |
Token.subtractReverse(Token leftArgument)
Return a new token whose value is the value of this token
subtracted from the value of the argument token.
|
Token |
AbstractConvertibleToken.subtractReverse(Token leftArgument)
Return a new token whose value is the value of this token
subtracted from the value of the argument token.
|
Token |
MatrixToken.subtractReverse(Token leftArgument)
Return a new token whose value is the value of this token
subtracted from the value of the argument token.
|
Token |
ScalarToken.subtractReverse(Token leftArgument)
Return a new token whose value is the value of the argument
token subtracted from the value of this token.
|
Token |
ArrayToken.subtractReverse(Token rightArgument)
Subtract this array token from the specified argument.
|
Token |
AbstractNotConvertibleToken.subtractReverse(Token leftArgument)
Return a new token whose value is the value of this token
subtracted from the value of the argument token.
|
ArrayToken |
ArrayToken.update(int index,
Token value)
Return a new array with all elements equal to those of this
array except the one at position index, which has value
given by value.
|
Constructor and Description |
---|
ArrayToken(Token[] value)
Construct an ArrayToken with the specified token array.
|
ArrayToken(Token[] value,
int length)
Construct an ArrayToken with the first length
elements of the specified token array.
|
ArrayToken(Type elementType,
Token[] value)
Construct an ArrayToken with the specified element type and
token array.
|
BooleanMatrixToken(Token[] tokens,
int rows,
int columns)
Construct an BooleanMatrixToken from the specified array of
tokens.
|
ComplexMatrixToken(Token[] tokens,
int rows,
int columns)
Construct an ComplexMatrixToken from the specified array of
tokens.
|
DoubleMatrixToken(Token[] tokens,
int rows,
int columns)
Construct an DoubleMatrixToken from the specified array of
tokens.
|
FixMatrixToken(Token[] tokens,
int rows,
int columns)
Construct an FixMatrixToken from the specified array of
tokens.
|
IntMatrixToken(Token[] tokens,
int rows,
int columns)
Construct an IntMatrixToken from the specified array of
tokens.
|
LongMatrixToken(Token[] tokens,
int rows,
int columns)
Construct an LongMatrixToken from the specified array of
tokens.
|
OrderedRecordToken(java.lang.String[] labels,
Token[] values)
Construct an OrderedRecordToken with the specified labels and values.
|
RecordToken(java.lang.String[] labels,
Token[] values)
Construct a RecordToken with the specified labels and values.
|
TupleToken(Token[] value)
Construct a TupleToken with the specified token array as its value.
|
UnionToken(java.lang.String label,
Token value)
Construct a UnionToken with the specified label and value.
|
UpdatedArrayToken(ArrayToken baseToken,
int index,
Token newValue)
Construct an UpdatedArrayToken that is equal to the specified
baseToken, except at index, where its value is
newValue.
|
Constructor and Description |
---|
OrderedRecordToken(java.util.Map<java.lang.String,Token> fieldMap)
Construct an OrderedRecordToken with the labels and values specified
by a given Map object.
|
RecordToken(java.util.Map<java.lang.String,Token> fieldMap)
Construct a RecordToken with the labels and values specified
by a given Map object.
|
Modifier and Type | Class and Description |
---|---|
class |
ConcreteMatrixToken
A token that represents an empty matrix, with no element type.
|
class |
ConcreteScalarToken
A token that represents a scalar of any type.
|
class |
GeneralToken
This is a token that reports its type as "general."
|
class |
UnknownToken
This is a token that reports its type as "unknown."
|
Modifier and Type | Field and Description |
---|---|
protected Token |
ParseTreeEvaluator._evaluatedChildToken |
protected Token |
ASTPtRootNode._ptToken
Each node stores its type and state information in this variable.
|
Modifier and Type | Method and Description |
---|---|
protected Token[] |
ParseTreeEvaluator._evaluateAllChildren(ASTPtRootNode node)
Loop through all of the children of this node,
visiting each one of them; this will cause their token
value to be determined.
|
protected Token |
ParseTreeEvaluator._evaluateArrayIndex(ASTPtRootNode node,
Token value,
Token index)
Evaluate the array index operation represented by the given node.
|
protected Token |
ParseTreeEvaluator._evaluateChild(ASTPtRootNode node,
int i)
Evaluate the child with the given index of the given node.
|
protected Token |
ParseTreeEvaluator._evaluateMatrixIndex(ASTPtRootNode node,
Token value,
Token rowIndex,
Token columnIndex)
Evaluate the Matrix index operation represented by the given node.
|
protected Token |
ParseTreeEvaluator._functionCall(java.lang.String functionName,
Type[] argTypes,
java.lang.Object[] argValues)
Evaluate the specified function.
|
protected Token |
ParseTreeEvaluator._methodCall(java.lang.String methodName,
Type[] argTypes,
java.lang.Object[] argValues)
Evaluate the specified method.
|
Token |
ExpressionFunction.apply(Token[] arguments)
Apply the function to the list of arguments, which are tokens.
|
static Token |
UtilityFunctions.cast(Token token1,
Token token2)
Convert the second token to the type of the first.
|
static Token |
ConversionUtilities.convertJavaTypeToToken(java.lang.Object object)
Convert a java object to a corresponding Token.
|
static Token |
MatlabUtilities.evaluate(java.lang.String expression,
java.util.Set variableNames,
ParserScope scope)
Evaluate a Matlab expression within a scope.
|
Token |
ASTPtRootNode.evaluateParseTree()
Deprecated.
Use a ParseTreeEvaluator instead.
|
Token |
ParseTreeEvaluator.evaluateParseTree(ASTPtRootNode node)
Evaluate the parse tree with the specified root node.
|
Token |
ParseTreeEvaluator.evaluateParseTree(ASTPtRootNode node,
ParserScope scope)
Evaluate the parse tree with the specified root node using
the specified scope to resolve the values of variables.
|
Token |
ParserScope.get(java.lang.String name)
Look up and return the value with the specified name in the
scope.
|
Token |
ExplicitScope.get(java.lang.String name)
Look up and return the value with the specified name in the
scope.
|
Token |
NestedScope.get(java.lang.String name)
Look up and return the value with the specified name in the
scope.
|
Token |
NamedConstantsScope.get(java.lang.String name)
Look up and return the value with the specified name in the
scope.
|
Token |
Variable.VariableScope.get(java.lang.String name)
Look up and return the attribute with the specified name in the
scope.
|
static Token |
Constants.get(java.lang.String name)
Look up the value of the constant with the given name.
|
Token |
ConcreteMatrixToken.getElementAsToken(int row,
int column)
Throw an ArrayIndexOutOfBoundsException.
|
Token |
ASTPtRootNode.getToken()
Return the evaluated token value of this node.
|
Token |
ConstraintMonitor.getToken()
Override the base class to check whether the threshold constraint
is satisfied.
|
Token |
Variable.getToken()
Get the token contained by this variable.
|
static Token |
UtilityFunctions.intersect(RecordToken record1,
RecordToken record2)
Find the intersection of two records.
|
Token |
CachedMethod.invoke(java.lang.Object[] argValues)
Apply the operation represented by this object to
the specified arguments.
|
Token |
CachedMethod.BaseConvertCachedMethod.invoke(java.lang.Object[] argValues) |
Token |
CachedMethod.ArrayMapCachedMethod.invoke(java.lang.Object[] argValues)
Invoke the method represented by this CachedMethod.
|
Token |
CachedMethod.MatrixMapCachedMethod.invoke(java.lang.Object[] argValues)
Run method represented by this cachedMethod.
|
static Token |
ModelScope.preferenceValue(NamedObj context,
java.lang.String preferenceName)
Check to see whether a preference of the specified name is
defined in the specified context, and if it is, return its value.
|
static Token |
UtilityFunctions.sum(ArrayToken array)
Return the sum of the elements in the specified array.
|
Modifier and Type | Method and Description |
---|---|
protected Token |
ParseTreeEvaluator._evaluateArrayIndex(ASTPtRootNode node,
Token value,
Token index)
Evaluate the array index operation represented by the given node.
|
protected Token |
ParseTreeEvaluator._evaluateMatrixIndex(ASTPtRootNode node,
Token value,
Token rowIndex,
Token columnIndex)
Evaluate the Matrix index operation represented by the given node.
|
protected void |
Variable._setToken(Token newToken)
Set the token value and type of the variable.
|
protected void |
Variable._setTokenAndNotify(Token newToken)
Set the token value and type of the variable, and notify the
container that the value (and type, if appropriate) has changed.
|
static void |
Constants.add(java.lang.String name,
Token value)
Add a constant with the given name and value to the table.
|
Token |
ExpressionFunction.apply(Token[] arguments)
Apply the function to the list of arguments, which are tokens.
|
static ArrayToken |
UtilityFunctions.arrayType(Token t)
Return a new UnsizedArrayToken whose element type is the same
as the given type.
|
static ArrayToken |
UtilityFunctions.arrayType(Token t,
IntToken numberOfTimes)
Return a new UnsizedArrayToken whose element type is the same
as the given type, and whose length is the given length.
|
static Token |
UtilityFunctions.cast(Token token1,
Token token2)
Convert the second token to the type of the first.
|
java.lang.Object |
CachedMethod.ArgumentConversion.convert(Token input)
Convert the given token into an object that can be used to
invoke a method through the reflection mechanism.
|
java.lang.Object |
CachedMethod.TypeArgumentConversion.convert(Token input)
Convert the given token into an object that can be used to
invoke a method through the reflection mechanism.
|
static java.lang.Object |
ConversionUtilities.convertTokenToJavaType(Token token)
Convert a Token to a corresponding Java object.
|
static ArrayToken |
UtilityFunctions.emptyArray(Token prototype)
Return an empty array with its element type matching
the specified token.
|
static ArrayToken |
UtilityFunctions.find(ArrayToken array,
Token match)
Find all elements in an array that match the specified token
and return an array containing their indices (in ascending order).
|
static ArrayToken |
UtilityFunctions.iterate(FunctionToken function,
int length,
Token initial)
Iterate the specified function to produce an array of the specified
length.
|
static ArrayToken |
UtilityFunctions.repeat(IntToken numberOfTimes,
Token element)
Create an array that contains the specified element
repeated the specified number of times.
|
void |
ASTPtRootNode.setToken(Token token)
Set the value of this node.
|
void |
Variable.setToken(Token token)
Put a new token in this variable and notify the container and
and value listeners.
|
static BooleanToken |
UtilityFunctions.within(Token token1,
Token token2,
double distance)
Return true if the first argument is close in value to the second,
where "close" means that it is within the distance given by the
third argument.
|
Constructor and Description |
---|
Parameter(NamedObj container,
java.lang.String name,
Token token)
Construct a Parameter with the given container, name, and Token.
|
SingletonParameter(NamedObj container,
java.lang.String name,
Token token)
Construct a Parameter with the given container, name, and Token.
|
Variable(NamedObj container,
java.lang.String name,
Token token)
Construct a variable with the given container, name, and token.
|
Variable(NamedObj container,
java.lang.String name,
Token token,
boolean incrementWorkspaceVersion)
Construct a variable with the given container, name, and token.
|
Modifier and Type | Method and Description |
---|---|
Token |
ObjectType.convert(Token token)
Convert the specified token into a token having the type
represented by this object.
|
Token |
FunctionType.convert(Token token)
Convert the argument token into a FunctionToken having this type,
if lossless conversion can be done.
|
Token |
UnionType.convert(Token token)
Convert the argument token into a UnionToken having this
type, if lossless conversion can be done.
|
abstract Token |
BaseType.convert(Token t)
Convert the specified token to a token having the type
represented by this object.
|
Token |
BaseType.UnknownType.convert(Token t) |
Token |
BaseType.ArrayBottomType.convert(Token t) |
Token |
BaseType.BooleanType.convert(Token t) |
Token |
BaseType.UnsignedByteType.convert(Token t) |
Token |
BaseType.ComplexType.convert(Token t) |
Token |
BaseType.FloatType.convert(Token t) |
Token |
BaseType.DoubleType.convert(Token t) |
Token |
BaseType.UnsizedFixType.convert(Token t) |
Token |
BaseType.ShortType.convert(Token t) |
Token |
BaseType.IntType.convert(Token t) |
Token |
BaseType.LongType.convert(Token t) |
Token |
BaseType.XmlTokenType.convert(Token t) |
Token |
BaseType.ScalarType.convert(Token t) |
Token |
BaseType.StringType.convert(Token t) |
Token |
BaseType.GeneralType.convert(Token t) |
Token |
BaseType.EventType.convert(Token t) |
Token |
BaseType.PetiteType.convert(Token t) |
Token |
BaseType.NilType.convert(Token t) |
Token |
BaseType.DateType.convert(Token t) |
Token |
TupleType.convert(Token token)
Convert the argument token into an ArrayToken having this
type, if losslessly conversion can be done.
|
Token |
MatrixType.convert(Token token)
If the argument is an instance of this class or a subclass,
then return the token.
|
Token |
MatrixType.BooleanMatrixType.convert(Token token) |
Token |
MatrixType.ComplexMatrixType.convert(Token token) |
Token |
MatrixType.DoubleMatrixType.convert(Token token) |
Token |
MatrixType.IntMatrixType.convert(Token token) |
Token |
MatrixType.FixMatrixType.convert(Token token) |
Token |
MatrixType.LongMatrixType.convert(Token token) |
Token |
RecordType.convert(Token token)
Convert the argument token into a RecordToken having this
type, if compatible.
|
Token |
FixType.convert(Token token)
Convert the specified token to a token having the type
represented by this object.
|
Token |
Type.convert(Token token)
Convert the specified token into a token having the type
represented by this object.
|
Token |
ActorType.convert(Token token)
Convert the specified token to a token having the type
represented by this object.
|
Token |
ArrayType.convert(Token token)
Convert the argument token into an ArrayToken having this
type, if lossless conversion can be done.
|
Modifier and Type | Method and Description |
---|---|
static int |
TypeLattice.compare(Token token1,
Token token2)
Compare the types of the two specified tokens in the type lattice.
|
static int |
TypeLattice.compare(Token token,
Type type)
Compare the types of the two specified tokens in the type lattice.
|
static int |
TypeLattice.compare(Type type,
Token token)
Compare the types of the two specified tokens in the type lattice.
|
Token |
ObjectType.convert(Token token)
Convert the specified token into a token having the type
represented by this object.
|
Token |
FunctionType.convert(Token token)
Convert the argument token into a FunctionToken having this type,
if lossless conversion can be done.
|
Token |
UnionType.convert(Token token)
Convert the argument token into a UnionToken having this
type, if lossless conversion can be done.
|
abstract Token |
BaseType.convert(Token t)
Convert the specified token to a token having the type
represented by this object.
|
Token |
BaseType.UnknownType.convert(Token t) |
Token |
BaseType.ArrayBottomType.convert(Token t) |
Token |
BaseType.BooleanType.convert(Token t) |
Token |
BaseType.UnsignedByteType.convert(Token t) |
Token |
BaseType.ComplexType.convert(Token t) |
Token |
BaseType.FloatType.convert(Token t) |
Token |
BaseType.DoubleType.convert(Token t) |
Token |
BaseType.UnsizedFixType.convert(Token t) |
Token |
BaseType.ShortType.convert(Token t) |
Token |
BaseType.IntType.convert(Token t) |
Token |
BaseType.LongType.convert(Token t) |
Token |
BaseType.XmlTokenType.convert(Token t) |
Token |
BaseType.ScalarType.convert(Token t) |
Token |
BaseType.StringType.convert(Token t) |
Token |
BaseType.GeneralType.convert(Token t) |
Token |
BaseType.EventType.convert(Token t) |
Token |
BaseType.PetiteType.convert(Token t) |
Token |
BaseType.NilType.convert(Token t) |
Token |
BaseType.DateType.convert(Token t) |
Token |
TupleType.convert(Token token)
Convert the argument token into an ArrayToken having this
type, if losslessly conversion can be done.
|
Token |
MatrixType.convert(Token token)
If the argument is an instance of this class or a subclass,
then return the token.
|
Token |
MatrixType.BooleanMatrixType.convert(Token token) |
Token |
MatrixType.ComplexMatrixType.convert(Token token) |
Token |
MatrixType.DoubleMatrixType.convert(Token token) |
Token |
MatrixType.IntMatrixType.convert(Token token) |
Token |
MatrixType.FixMatrixType.convert(Token token) |
Token |
MatrixType.LongMatrixType.convert(Token token) |
Token |
RecordType.convert(Token token)
Convert the argument token into a RecordToken having this
type, if compatible.
|
Token |
FixType.convert(Token token)
Convert the specified token to a token having the type
represented by this object.
|
Token |
Type.convert(Token token)
Convert the specified token into a token having the type
represented by this object.
|
Token |
ActorType.convert(Token token)
Convert the specified token to a token having the type
represented by this object.
|
Token |
ArrayType.convert(Token token)
Convert the argument token into an ArrayToken having this
type, if lossless conversion can be done.
|
Modifier and Type | Class and Description |
---|---|
class |
TestToken
This is a new type of token.
|
Modifier and Type | Method and Description |
---|---|
Token |
TestToken.TestType.convert(Token token)
Convert the specified token to a token having the type
represented by this object.
|
Modifier and Type | Method and Description |
---|---|
Token |
TestToken.TestType.convert(Token token)
Convert the specified token to a token having the type
represented by this object.
|
BooleanToken |
TestToken.isEqualTo(Token token)
Test for equality of the values of this Token and the argument Token.
|
Modifier and Type | Method and Description |
---|---|
Token |
BaseUnit.getToken()
Get the token contained by this base unit.
|
Modifier and Type | Field and Description |
---|---|
protected Token |
ContinuousTimeDelay._currentOutput
Current output.
|
Modifier and Type | Method and Description |
---|---|
protected Token |
ContinuousTimeDelay.linearInterpolate(TimedEvent leftEvent,
TimedEvent rightEvent)
Linear interpolate between previous and current input.
|
Modifier and Type | Method and Description |
---|---|
Token |
DEReceiver.get()
Get the first token from the receiver.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Token> |
DEReceiver.elementList()
Return a list with tokens that are currently in the receiver
available for get() or getArray(), beginning with the oldest one.
|
Modifier and Type | Method and Description |
---|---|
void |
DEReceiver.put(Token token)
Put a token into this receiver and post a trigger event to the director.
|
Modifier and Type | Field and Description |
---|---|
protected Token |
TimedDelay._currentInput
Deprecated.
Current input.
|
protected Token |
Timer._currentInput
Deprecated.
Current input.
|
protected Token |
TimedDelay._currentOutput
Deprecated.
Current output.
|
protected Token |
VariableDelay._currentOutput
Deprecated.
Current output.
|
protected Token |
Timer._currentOutput
Deprecated.
Current output.
|
protected Token[] |
Wire._lastInputs
Deprecated.
The recorded inputs last seen.
|
protected Token[] |
MostRecent._lastInputs
The recorded inputs last seen.
|
protected Token |
Queue._token
Token received in the fire() method for inclusion in
the queue in the postfire() method.
|
Modifier and Type | Method and Description |
---|---|
Token |
ParseTreeEvaluatorForGuardExpression.evaluateParseTree(ASTPtRootNode node,
ParserScope scope)
Evaluate the parse tree with the specified root node using
the specified scope to resolve the values of variables.
|
Token |
FSMReceiver.get()
Get the contained Token.
|
Token |
FSMActor.PortScope.get(java.lang.String name)
Look up and return the attribute with the specified name in the
scope.
|
Token[] |
FSMReceiver.getArray(int numberOfTokens)
If the argument is 1, there is a token, and the status is known,
then return an array containing the one token.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Token> |
FSMReceiver.elementList()
Return a list with the token currently in the receiver, or
an empty list if there is no such token.
|
Modifier and Type | Method and Description |
---|---|
void |
FSMReceiver.put(Token token)
Put a token into this receiver.
|
void |
FSMReceiver.putArray(Token[] tokenArray,
int numberOfTokens)
If the argument has one token, then put that token in
the receiver.
|
Modifier and Type | Method and Description |
---|---|
Token |
PNQueueReceiver.get()
Get a token from this receiver.
|
Modifier and Type | Method and Description |
---|---|
void |
PNQueueReceiver.put(Token token)
Put a token on the queue contained in this receiver.
|
Modifier and Type | Method and Description |
---|---|
Token |
SDFReceiver.get()
Remove the first token (the oldest one) from the receiver and
return it.
|
Token |
SDFReceiver.get(int offset)
Return a token in the receiver or its history.
|
Token[] |
SDFReceiver.getArray(int count)
Get an array of tokens from this receiver.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Token> |
SDFReceiver.elementList()
Return a list with the tokens currently in the receiver, or
an empty list if there are no such tokens.
|
Modifier and Type | Method and Description |
---|---|
void |
SDFReceiver.put(Token token)
Put a token to the receiver.
|
Modifier and Type | Field and Description |
---|---|
protected Token[] |
FIR._data
The delay line.
|
protected Token[] |
FIR._taps
Local cache of the tap values.
|
protected Token |
FIR._zero
Local cache of the zero token.
|
Modifier and Type | Method and Description |
---|---|
void |
ImageDisplayJavaSE.display(Token in)
Display the specified token.
|
Modifier and Type | Class and Description |
---|---|
class |
DummyReferenceToken
Class comments
DummyReferenceToken is a token encapsulating a reference to a shared
data object.
|
Modifier and Type | Method and Description |
---|---|
Token |
Engine.get(long[] eng,
java.lang.String name)
Return a Token from the matlab engine using default
Engine.ConversionParameters values. |
Token |
Engine.get(long[] eng,
java.lang.String name,
Engine.ConversionParameters par)
Return a Token from the matlab engine using specified
Engine.ConversionParameters values. |
Modifier and Type | Method and Description |
---|---|
int |
Engine.put(long[] eng,
java.lang.String name,
Token t)
Create a matlab variable using name and a Token.
|