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