public class SCRTableHelper
extends java.lang.Object
| Red (pd) |
| Red (pd) |
| Constructor and Description |
|---|
SCRTableHelper() |
| Modifier and Type | Method and Description |
|---|---|
static void |
checkDisjointness(java.util.List<java.lang.String> _tableContent,
int rowCount,
int columnCount,
FSMActor model)
Check that all modes are unique. -- by definition
Check that all values are unique.
|
static int |
getContentIndex(int rowIndex,
int columnIndex,
int columnCount)
Return the content index.
|
static Transition |
getSelfTransition(State state)
Returns a self transition on a given state, if there is one, null otherwise.
|
static Transition |
getSelfTransition(State state,
Parameter parameter)
Return the self transition.
|
static int |
indexOfMatchingCloseBracket(java.lang.String expression,
int openingBracket)
Search towards the right of the string.
|
static int |
indexOfMatchingOpenBracket(java.lang.String expression,
int openingBracket)
Search towards the left of the string.
|
public static int indexOfMatchingOpenBracket(java.lang.String expression,
int openingBracket)
expression - The expression to be searched.openingBracket - the index of the open bracket.public static int indexOfMatchingCloseBracket(java.lang.String expression,
int openingBracket)
expression - The expression to be searched.openingBracket - the index of the open bracket.public static Transition getSelfTransition(State state)
state - The given state.public static int getContentIndex(int rowIndex,
int columnIndex,
int columnCount)
rowIndex - the index of the row.columnIndex - the index of the column.columnCount - The number of columns.public static void checkDisjointness(java.util.List<java.lang.String> _tableContent,
int rowCount,
int columnCount,
FSMActor model)
throws IllegalActionException
_tableContent - The table content.rowCount - the number of rows.columnCount - the number of columns.model - the model to be checked.IllegalActionExceptionpublic static Transition getSelfTransition(State state, Parameter parameter)
state - The state.parameter - the parameter.