Package | Description |
---|---|
provided.music |
Modifier and Type | Field and Description |
---|---|
private IPhraseVisitorCmd |
APhraseVisitor.defaultCmd
The default command to use when caseAt is called with an ID that is not in the hashtable as a key.
|
Modifier and Type | Field and Description |
---|---|
private java.util.Map<java.lang.String,IPhraseVisitorCmd> |
APhraseVisitor.cmds
The dictionary of commands, implemented using a hash table.
|
Modifier and Type | Method and Description |
---|---|
void |
APhraseVisitor.addCmd(java.lang.String id,
IPhraseVisitorCmd cmd)
Add the given command to the dictionary, associated with the given id value.
|
Constructor and Description |
---|
APhraseVisitor(IPhraseVisitorCmd defaultCmd)
Constructor that sets the default cmd to the supplied cmd.
|