final class MultivaluedStringMap extends MultivaluedHashMap<String,String>
MultivaluedMap where keys and values are
instances of String.
This map has an additional ability to instantiate classes using the individual string values as a constructor parameters.
| Modifier and Type | Field and Description |
|---|---|
(package private) static long |
serialVersionUID |
store| Constructor and Description |
|---|
MultivaluedStringMap() |
MultivaluedStringMap(int initialCapacity) |
MultivaluedStringMap(int initialCapacity,
float loadFactor) |
MultivaluedStringMap(MultivaluedMap<? extends String,? extends String> map) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addFirstNull(List<String> values)
Define the behavior for adding a
null values to the first position in the value list. |
protected void |
addNull(List<String> values)
Define the behavior for adding a
null values to the value list. |
(package private) <A> A |
getFirst(String key,
A defaultValue) |
(package private) <A> A |
getFirst(String key,
Class<A> type) |
add, addAll, addAll, addFirst, clear, containsKey, containsValue, entrySet, equals, equalsIgnoreValueOrder, get, getFirst, getValues, hashCode, isEmpty, keySet, put, putAll, putSingle, remove, size, toString, valuesclone, finalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllstatic final long serialVersionUID
MultivaluedStringMap(MultivaluedMap<? extends String,? extends String> map)
MultivaluedStringMap(int initialCapacity,
float loadFactor)
MultivaluedStringMap(int initialCapacity)
MultivaluedStringMap()
protected void addFirstNull(List<String> values)
null values to the first position in the value list.
Default implementation is a no-op, i.e. the null values are ignored. Overriding implementations may
modify this behavior by providing their own definitions of this method.
addFirstNull in class AbstractMultivaluedMap<String,String>values - value list where the null value addition is being requested.protected void addNull(List<String> values)
null values to the value list.
Default implementation is a no-op, i.e. the null values are ignored. Overriding implementations may
modify this behavior by providing their own definitions of this method.
addNull in class AbstractMultivaluedMap<String,String>values - value list where the null value addition is being requested.final <A> A getFirst(String key, A defaultValue)
Copyright © 2014 Sven Strittmatter. All Rights Reserved.