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 void
add(Key key, Value value)
void
addAll(Key key, List<Value> valueList)
void
addAll(Key key, Value... newValues)
void
addFirst(Key key, Value value)
void
clear()
MultiValuedTreeMap<Key,Value>
clone()
boolean
containsKey(Object key)
boolean
containsValue(Object value)
Set<Map.Entry<Key,List<Value>>>
entrySet()
boolean
equals(Object o)
boolean
equalsIgnoreValueOrder(MultiValuedTreeMap<Key,Value> vmap)
List<Value>
get(Object key)
Value
getFirst(Key key)
int
hashCode()
boolean
isEmpty()
Set<Key>
keySet()
List<Value>
put(Key key, List<Value> value)
void
putAll(Map<? extends Key,? extends List<Value>> t)
void
putSingle(Key key, Value value)
List<Value>
remove(Object key)
int
size()
String
toString()
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:
containsKey
in interfaceMap<Key,Value>
-
containsValue
public boolean containsValue(Object value)
- Specified by:
containsValue
in 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()
-
-