Package com.funnelback.publicui.utils
Class MultimapToSingleStringMapWrapper
- java.lang.Object
-
- com.funnelback.publicui.utils.MultimapToSingleStringMapWrapper
-
-
Field Summary
Fields Modifier and Type Field Description private com.google.common.collect.ListMultimap<String,String>
definedSeparators
private com.google.common.collect.ListMultimap<String,String>
separators
private com.google.common.collect.ListMultimap<String,String>
underlyingMetadata
-
Constructor Summary
Constructors Constructor Description MultimapToSingleStringMapWrapper(com.google.common.collect.ListMultimap<String,String> underlyingMetadata, com.google.common.collect.ListMultimap<String,String> separators, com.google.common.collect.ListMultimap<String,String> definedSeparators)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
boolean
containsKey(Object key)
boolean
containsValue(Object value)
Warning - This check is not efficient on this map wrapper because we must calculate all the values.Set<Map.Entry<String,String>>
entrySet()
String
get(Object key)
boolean
isEmpty()
Set<String>
keySet()
String
put(String key, String value)
void
putAll(Map<? extends String,? extends String> m)
String
remove(Object key)
int
size()
Collection<String>
values()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
-
-
Method Detail
-
containsKey
public boolean containsKey(Object key)
- Specified by:
containsKey
in interfaceMap<String,String>
-
containsValue
public boolean containsValue(Object value)
Warning - This check is not efficient on this map wrapper because we must calculate all the values.
- Specified by:
containsValue
in interfaceMap<String,String>
-
-