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.
-
Nested Class Summary
-
Constructor Summary
Constructors Constructor Description CommandResultMap(CommandResultList cresultList)Constructor. -
Method Summary
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, waitMethods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Constructor Details
-
CommandResultMap
Constructor.- Parameters:
cresultList- command result list.
-
-
Method Details
-
put
Put command result.- Parameters:
cresult- command result.
-
putAll
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
- Specified by:
getin interfaceMap<ICommand,List<CommandResult>>
-
containsKey
- Specified by:
containsKeyin interfaceMap<ICommand,List<CommandResult>>
-
containsValue
- Specified by:
containsValuein interfaceMap<ICommand,List<CommandResult>>
-
keySet
- Specified by:
keySetin interfaceMap<ICommand,List<CommandResult>>
-
values
- Specified by:
valuesin interfaceMap<ICommand,List<CommandResult>>
-
entrySet
- Specified by:
entrySetin interfaceMap<ICommand,List<CommandResult>>
-
put
- Specified by:
putin interfaceMap<ICommand,List<CommandResult>>
-
putAll
- Specified by:
putAllin interfaceMap<ICommand,List<CommandResult>>
-
remove
- Specified by:
removein interfaceMap<ICommand,List<CommandResult>>
-
clear
public void clear()- Specified by:
clearin interfaceMap<ICommand,List<CommandResult>>
-