public class CommandMap<S,K> extends java.util.HashMap<K,java.util.List<Command<? super S>>>
Constructor and Description |
---|
CommandMap(S source) |
Modifier and Type | Method and Description |
---|---|
void |
addCommands(K key,
java.util.Collection<Command<? super S>> commands) |
void |
addCommands(K key,
Command<? super S>... commands) |
void |
addCommands(K key,
Command<? super S> command) |
java.util.List<Command<? super S>> |
get(K key,
boolean create) |
void |
runCommands(K key) |
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values