public class CommandResultMap extends Object implements Map<ICommand,List<CommandResult>>
| Constructor and Description |
|---|
CommandResultMap(CommandResultList cresultList)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
Set<Map.Entry<ICommand,List<CommandResult>>> |
entrySet() |
List<CommandResult> |
get(Object key) |
boolean |
isEmpty() |
Set<ICommand> |
keySet() |
void |
put(CommandResult cresult)
Put command result.
|
List<CommandResult> |
put(ICommand key,
List<CommandResult> value) |
void |
putAll(List<CommandResult> cresultList)
Put command result list.
|
void |
putAll(Map<? extends ICommand,? extends List<CommandResult>> m) |
List<CommandResult> |
remove(Object key) |
int |
size() |
Collection<List<CommandResult>> |
values() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAllpublic CommandResultMap(CommandResultList cresultList)
cresultList - command result list.public void put(CommandResult cresult)
cresult - command result.public void putAll(List<CommandResult> cresultList)
cresultList - command result list.public int size()
size in interface Map<ICommand,List<CommandResult>>public boolean isEmpty()
isEmpty in interface Map<ICommand,List<CommandResult>>public List<CommandResult> get(Object key)
get in interface Map<ICommand,List<CommandResult>>public boolean containsKey(Object key)
containsKey in interface Map<ICommand,List<CommandResult>>public boolean containsValue(Object value)
containsValue in interface Map<ICommand,List<CommandResult>>public Set<ICommand> keySet()
keySet in interface Map<ICommand,List<CommandResult>>public Collection<List<CommandResult>> values()
values in interface Map<ICommand,List<CommandResult>>public Set<Map.Entry<ICommand,List<CommandResult>>> entrySet()
entrySet in interface Map<ICommand,List<CommandResult>>public List<CommandResult> put(ICommand key, List<CommandResult> value)
put in interface Map<ICommand,List<CommandResult>>public void putAll(Map<? extends ICommand,? extends List<CommandResult>> m)
putAll in interface Map<ICommand,List<CommandResult>>public List<CommandResult> remove(Object key)
remove in interface Map<ICommand,List<CommandResult>>public void clear()
clear in interface Map<ICommand,List<CommandResult>>Copyright © 2017. All rights reserved.