public abstract class KeysToMultiValues<T extends KeyToMultiValue,K extends KeysToMultiValues> extends ObjectWithJsonToString
Constructor and Description |
---|
KeysToMultiValues() |
toString
fieldsExcludedFromEqualsAndHashCode
public abstract T build(NottableString name, Collection<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 Set<NottableString> keySet()
public Collection<NottableString> getValues(NottableString key)
public com.google.common.collect.Multimap<NottableString,NottableString> getMultimap()
public boolean containsEntry(String name)
public CaseInsensitiveRegexMultiMap toCaseInsensitiveRegexMultiMap(MockServerLogger mockServerLogger, boolean controlPlaneMatcher)
public boolean isEmpty()
public boolean equals(Object o)
equals
in class ObjectWithReflectiveEqualsHashCodeToString
public int hashCode()
hashCode
in class ObjectWithReflectiveEqualsHashCodeToString
Copyright © 2020. All rights reserved.