public interface Dictionary extends Iterable<DictionaryCommand>, Serializable
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsCommand(BasicCommand command)
Test if a given command is present in a dictionary.
|
DictionaryCommand |
findCommand(BasicCommand command)
Find a given command in the dictionary
|
default DictionaryCompleter |
getDictionaryCompleter()
Get the DictionaryCompleter for this Dictionary.
|
default DictionaryHelpGenerator |
getHelpGenerator()
Get the DictionaryHelpGenerator for this Dictionary.
|
int |
size()
The size of the dictionary.
|
forEach, iterator, spliteratorboolean containsCommand(BasicCommand command) throws CommandArgumentMatchException
command - The command (or alias) to search fortrueIf the command is foundCommandArgumentMatchException - if there is an illegal argument.DictionaryCommand findCommand(BasicCommand command) throws CommandArgumentMatchException
command - The command (or alias) to search fornull if
the command is not found.CommandArgumentMatchException - if there is an illegal argument.int size()
default DictionaryHelpGenerator getHelpGenerator()
default DictionaryCompleter getDictionaryCompleter()
Copyright © 2017 LSST. All rights reserved.