org.mockserver.collections
Class CaseInsensitiveRegexMultiMap
java.lang.Object
org.mockserver.model.ObjectWithReflectiveEqualsHashCodeToString
org.mockserver.collections.CaseInsensitiveRegexMultiMap
- All Implemented Interfaces:
- Map<NottableString,String>
public class CaseInsensitiveRegexMultiMap
- extends ObjectWithReflectiveEqualsHashCodeToString
- implements Map<NottableString,String>
MultiMap that uses case insensitive regex expression matching for keys and values
- Author:
- jamesdbloom
| Nested classes/interfaces inherited from interface java.util.Map |
Map.Entry<K,V> |
CaseInsensitiveRegexMultiMap
public CaseInsensitiveRegexMultiMap()
size
public int size()
- Specified by:
size in interface Map<NottableString,String>
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty in interface Map<NottableString,String>
containsKey
public boolean containsKey(Object key)
- Specified by:
containsKey in interface Map<NottableString,String>
containsAll
public boolean containsAll(CaseInsensitiveRegexMultiMap subSet)
containsKeyValue
public boolean containsKeyValue(NottableString key,
String value)
containsValue
public boolean containsValue(Object value)
- Specified by:
containsValue in interface Map<NottableString,String>
get
public String get(Object key)
- Specified by:
get in interface Map<NottableString,String>
getAll
public List<String> getAll(String key)
getAll
public List<String> getAll(Object key)
put
public String put(String key,
String value)
put
public String put(NottableString key,
String value)
- Specified by:
put in interface Map<NottableString,String>
put
public List<String> put(String key,
List<String> values)
put
public List<String> put(NottableString key,
List<String> values)
putValuesForNewKeys
public void putValuesForNewKeys(CaseInsensitiveRegexMultiMap multiMap)
remove
public String remove(Object key)
- Specified by:
remove in interface Map<NottableString,String>
removeAll
public List<String> removeAll(NottableString key)
removeAll
public List<String> removeAll(String key)
putAll
public void putAll(Map<? extends NottableString,? extends String> map)
- Specified by:
putAll in interface Map<NottableString,String>
clear
public void clear()
- Specified by:
clear in interface Map<NottableString,String>
keySet
public Set<NottableString> keySet()
- Specified by:
keySet in interface Map<NottableString,String>
values
public Collection<String> values()
- Specified by:
values in interface Map<NottableString,String>
entrySet
public Set<Map.Entry<NottableString,String>> entrySet()
- Specified by:
entrySet in interface Map<NottableString,String>
Copyright © 2015. All rights reserved.