public abstract class KeysToMultiValues<T extends KeyToMultiValue,K extends KeysToMultiValues> extends ObjectWithJsonToString
| Constructor and Description |
|---|
KeysToMultiValues() |
| Modifier and Type | Method and Description |
|---|---|
abstract T |
build(NottableString name,
List<NottableString> values) |
boolean |
containsEntry(NottableString name,
NottableString value) |
boolean |
containsEntry(String name) |
boolean |
containsEntry(String name,
String value) |
boolean |
equals(Object o) |
List<T> |
getEntries() |
String |
getFirstValue(String name) |
List<String> |
getValues(String name) |
int |
hashCode() |
boolean |
isEmpty() |
K |
remove(NottableString name) |
K |
remove(String name) |
K |
replaceEntry(String name,
String... values) |
K |
replaceEntry(T entry) |
CaseInsensitiveRegexMultiMap |
toCaseInsensitiveRegexMultiMap() |
CaseInsensitiveRegexMultiMap |
toCaseInsensitiveRegexMultiMap(List<T> entries) |
K |
withEntries(List<T> entries) |
K |
withEntries(Map<String,List<String>> entries) |
K |
withEntries(T... entries) |
K |
withEntry(NottableString name,
List<NottableString> values) |
K |
withEntry(NottableString name,
NottableString... values) |
K |
withEntry(String name,
String... values) |
K |
withEntry(T entry) |
toStringfieldsExcludedFromEqualsAndHashCode, keypublic CaseInsensitiveRegexMultiMap toCaseInsensitiveRegexMultiMap(List<T> entries)
public abstract T build(NottableString name, List<NottableString> values)
@SafeVarargs public final K withEntries(T... entries)
public K withEntry(NottableString name, List<NottableString> values)
public K withEntry(NottableString name, NottableString... values)
public K remove(NottableString name)
public boolean containsEntry(String name)
public boolean containsEntry(NottableString name, NottableString value)
public CaseInsensitiveRegexMultiMap toCaseInsensitiveRegexMultiMap()
public boolean isEmpty()
public boolean equals(Object o)
equals in class ObjectWithReflectiveEqualsHashCodeToStringpublic int hashCode()
hashCode in class ObjectWithReflectiveEqualsHashCodeToStringCopyright © 2018. All rights reserved.