Class MultiValuedTreeMap<Key,Value>
- java.lang.Object
-
- io.quarkus.amazon.lambda.http.model.MultiValuedTreeMap<Key,Value>
-
- Type Parameters:
Key- The type for the map keyValue- The type for the map values
- All Implemented Interfaces:
Serializable,Cloneable,Map<Key,List<Value>>
- Direct Known Subclasses:
Headers
public class MultiValuedTreeMap<Key,Value> extends Object implements Map<Key,List<Value>>, Serializable, Cloneable
Simple implementation of a multi valued tree map to use for case-insensitive headers- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MultiValuedTreeMap()MultiValuedTreeMap(Comparator<Key> comparator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(Key key, Value value)voidaddAll(Key key, List<Value> valueList)voidaddAll(Key key, Value... newValues)voidaddFirst(Key key, Value value)voidclear()MultiValuedTreeMap<Key,Value>clone()booleancontainsKey(Object key)booleancontainsValue(Object value)Set<Map.Entry<Key,List<Value>>>entrySet()booleanequals(Object o)booleanequalsIgnoreValueOrder(MultiValuedTreeMap<Key,Value> vmap)List<Value>get(Object key)ValuegetFirst(Key key)inthashCode()booleanisEmpty()Set<Key>keySet()List<Value>put(Key key, List<Value> value)voidputAll(Map<? extends Key,? extends List<Value>> t)voidputSingle(Key key, Value value)List<Value>remove(Object key)intsize()StringtoString()Collection<List<Value>>values()-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
-
-
Constructor Detail
-
MultiValuedTreeMap
public MultiValuedTreeMap()
-
MultiValuedTreeMap
public MultiValuedTreeMap(Comparator<Key> comparator)
-
-
Method Detail
-
containsKey
public boolean containsKey(Object key)
- Specified by:
containsKeyin interfaceMap<Key,Value>
-
containsValue
public boolean containsValue(Object value)
- Specified by:
containsValuein interfaceMap<Key,Value>
-
equals
public boolean equals(Object o)
-
hashCode
public int hashCode()
-
equalsIgnoreValueOrder
public boolean equalsIgnoreValueOrder(MultiValuedTreeMap<Key,Value> vmap)
-
clone
public MultiValuedTreeMap<Key,Value> clone()
-
-