public class CaseInsensitiveRegexHashMap extends LinkedHashMap<NottableString,NottableString> implements Map<NottableString,NottableString>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
CaseInsensitiveRegexHashMap(MockServerLogger mockServerLogger,
boolean controlPlaneMatcher) |
Modifier and Type | Method and Description |
---|---|
boolean |
allKeysNotted() |
boolean |
containsAll(CaseInsensitiveRegexHashMap subSet) |
boolean |
containsKey(Object key) |
boolean |
containsKeyValue(NottableString key,
NottableString value) |
boolean |
containsKeyValue(String key,
String value) |
boolean |
containsValue(Object value) |
NottableString |
get(Object key) |
static CaseInsensitiveRegexHashMap |
hashMap(boolean controlPlaneMatcher,
NottableString[]... keyAndValues) |
static CaseInsensitiveRegexHashMap |
hashMap(boolean controlPlaneMatcher,
String[]... keyAndValues) |
NottableString |
put(NottableString key,
NottableString value) |
NottableString |
put(String key,
String value) |
NottableString |
remove(Object key) |
clear, entrySet, forEach, getOrDefault, keySet, removeEldestEntry, replaceAll, values
clone, compute, computeIfAbsent, computeIfPresent, isEmpty, merge, putAll, putIfAbsent, remove, replace, replace, size
equals, hashCode, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
clear, compute, computeIfAbsent, computeIfPresent, entrySet, equals, forEach, getOrDefault, hashCode, isEmpty, keySet, merge, putAll, putIfAbsent, remove, replace, replace, replaceAll, size, values
public CaseInsensitiveRegexHashMap(MockServerLogger mockServerLogger, boolean controlPlaneMatcher)
public static CaseInsensitiveRegexHashMap hashMap(boolean controlPlaneMatcher, String[]... keyAndValues)
public static CaseInsensitiveRegexHashMap hashMap(boolean controlPlaneMatcher, NottableString[]... keyAndValues)
public boolean containsAll(CaseInsensitiveRegexHashMap subSet)
public boolean allKeysNotted()
public boolean containsKeyValue(NottableString key, NottableString value)
public boolean containsKey(Object key)
containsKey
in interface Map<NottableString,NottableString>
containsKey
in class HashMap<NottableString,NottableString>
public boolean containsValue(Object value)
containsValue
in interface Map<NottableString,NottableString>
containsValue
in class LinkedHashMap<NottableString,NottableString>
public NottableString get(Object key)
get
in interface Map<NottableString,NottableString>
get
in class LinkedHashMap<NottableString,NottableString>
public NottableString put(String key, String value)
public NottableString put(NottableString key, NottableString value)
put
in interface Map<NottableString,NottableString>
put
in class HashMap<NottableString,NottableString>
public NottableString remove(Object key)
remove
in interface Map<NottableString,NottableString>
remove
in class HashMap<NottableString,NottableString>
Copyright © 2020. All rights reserved.