org.mockserver.collections
Class CaseInsensitiveRegexHashMap<V>
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<K,V>
java.util.LinkedHashMap<NottableString,V>
org.mockserver.collections.CaseInsensitiveRegexHashMap<V>
- All Implemented Interfaces:
- Serializable, Cloneable, Map<NottableString,V>
public class CaseInsensitiveRegexHashMap<V>
- extends LinkedHashMap<NottableString,V>
- implements Map<NottableString,V>
Map that uses case insensitive regex expression matching for keys
- Author:
- jamesdbloom
- See Also:
- Serialized Form
| Nested classes/interfaces inherited from interface java.util.Map |
Map.Entry<K,V> |
| Methods inherited from interface java.util.Map |
clear, containsValue, entrySet, equals, hashCode, isEmpty, keySet, put, putAll, size, values |
CaseInsensitiveRegexHashMap
public CaseInsensitiveRegexHashMap()
containsAll
public boolean containsAll(CaseInsensitiveRegexHashMap<String> subSet)
containsKeyValue
public boolean containsKeyValue(NottableString key,
String value)
put
public V put(String key,
V value)
containsKey
public boolean containsKey(Object key)
- Specified by:
containsKey in interface Map<NottableString,V>- Overrides:
containsKey in class HashMap<NottableString,V>
get
public V get(Object key)
- Specified by:
get in interface Map<NottableString,V>- Overrides:
get in class LinkedHashMap<NottableString,V>
getAll
public Collection<V> getAll(Object key)
remove
public V remove(Object key)
- Specified by:
remove in interface Map<NottableString,V>- Overrides:
remove in class HashMap<NottableString,V>
Copyright © 2015. All rights reserved.