Package jp.vmi.selenium.selenese.result
Class CommandResultMap
- java.lang.Object
-
- jp.vmi.selenium.selenese.result.CommandResultMap
-
- All Implemented Interfaces:
Map<ICommand,List<CommandResult>>
public class CommandResultMap extends Object implements Map<ICommand,List<CommandResult>>
CommandResult map for chaching.
-
-
Constructor Summary
Constructors Constructor Description CommandResultMap(CommandResultList cresultList)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()booleancontainsKey(Object key)booleancontainsValue(Object value)Set<Map.Entry<ICommand,List<CommandResult>>>entrySet()List<CommandResult>get(Object key)booleanisEmpty()Set<ICommand>keySet()List<CommandResult>put(ICommand key, List<CommandResult> value)voidput(CommandResult cresult)Put command result.voidputAll(List<CommandResult> cresultList)Put command result list.voidputAll(Map<? extends ICommand,? extends List<CommandResult>> m)List<CommandResult>remove(Object key)intsize()Collection<List<CommandResult>>values()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
-
-
Constructor Detail
-
CommandResultMap
public CommandResultMap(CommandResultList cresultList)
Constructor.- Parameters:
cresultList- command result list.
-
-
Method Detail
-
put
public void put(CommandResult cresult)
Put command result.- Parameters:
cresult- command result.
-
putAll
public void putAll(List<CommandResult> cresultList)
Put command result list.- Parameters:
cresultList- command result list.
-
size
public int size()
- Specified by:
sizein interfaceMap<ICommand,List<CommandResult>>
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfaceMap<ICommand,List<CommandResult>>
-
get
public List<CommandResult> get(Object key)
- Specified by:
getin interfaceMap<ICommand,List<CommandResult>>
-
containsKey
public boolean containsKey(Object key)
- Specified by:
containsKeyin interfaceMap<ICommand,List<CommandResult>>
-
containsValue
public boolean containsValue(Object value)
- Specified by:
containsValuein interfaceMap<ICommand,List<CommandResult>>
-
keySet
public Set<ICommand> keySet()
- Specified by:
keySetin interfaceMap<ICommand,List<CommandResult>>
-
values
public Collection<List<CommandResult>> values()
- Specified by:
valuesin interfaceMap<ICommand,List<CommandResult>>
-
entrySet
public Set<Map.Entry<ICommand,List<CommandResult>>> entrySet()
- Specified by:
entrySetin interfaceMap<ICommand,List<CommandResult>>
-
put
public List<CommandResult> put(ICommand key, List<CommandResult> value)
- Specified by:
putin interfaceMap<ICommand,List<CommandResult>>
-
putAll
public void putAll(Map<? extends ICommand,? extends List<CommandResult>> m)
- Specified by:
putAllin interfaceMap<ICommand,List<CommandResult>>
-
remove
public List<CommandResult> remove(Object key)
- Specified by:
removein interfaceMap<ICommand,List<CommandResult>>
-
clear
public void clear()
- Specified by:
clearin interfaceMap<ICommand,List<CommandResult>>
-
-