Package jp.vmi.selenium.selenese
Class CollectionMap
public class CollectionMap extends HashMap<String,Deque<String>>
Collection Map.
- See Also:
- Serialized Form
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object,V extends Object> -
Constructor Summary
Constructors Constructor Description CollectionMap() -
Method Summary
Modifier and Type Method Description voidaddCollection(String collectionName)Create new collection (FIFO).voidaddToCollection(String collectionName, String value)Add value to collection.StringpollFromCollection(String collectionName)Poll value from collection.Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesMethods inherited from class java.util.AbstractMap
equals, hashCode, toString
-
Constructor Details
-
CollectionMap
public CollectionMap()
-
-
Method Details
-
addCollection
Create new collection (FIFO).- Parameters:
collectionName- collection name.
-
addToCollection
Add value to collection.- Parameters:
collectionName- collection name.value- value.
-
pollFromCollection
Poll value from collection.- Parameters:
collectionName- collection name.- Returns:
- value.
-