public abstract class KeysToMultiValues<T extends KeyToMultiValue,K extends KeysToMultiValues> extends ObjectWithJsonToString
| Modifier | Constructor and Description |
|---|---|
protected |
KeysToMultiValues() |
protected |
KeysToMultiValues(com.google.common.collect.Multimap<NottableString,NottableString> multimap) |
toStringfieldsExcludedFromEqualsAndHashCodeprotected KeysToMultiValues()
protected KeysToMultiValues(com.google.common.collect.Multimap<NottableString,NottableString> multimap)
public abstract T build(NottableString name, Collection<NottableString> values)
public KeyMatchStyle getKeyMatchStyle()
public KeysToMultiValues<T,K> withKeyMatchStyle(KeyMatchStyle keyMatchStyle)
@SafeVarargs public final K withEntries(T... entries)
public K withEntry(NottableString name, List<NottableString> values)
public K withEntry(NottableString name, NottableString... values)
public boolean remove(String name)
public boolean remove(NottableString name)
public Set<NottableString> keySet()
public Collection<NottableString> getValues(NottableString key)
public com.google.common.collect.Multimap<NottableString,NottableString> getMultimap()
public boolean containsEntry(String name)
public boolean isEmpty()
public boolean equals(Object o)
equals in class ObjectWithReflectiveEqualsHashCodeToStringpublic int hashCode()
hashCode in class ObjectWithReflectiveEqualsHashCodeToStringCopyright © 2022. All rights reserved.