public class KeyToMultiValue extends ObjectWithJsonToString
Constructor and Description |
---|
KeyToMultiValue(NottableString name,
Collection<NottableString> values) |
KeyToMultiValue(NottableString name,
NottableString... values) |
KeyToMultiValue(String name,
Collection<String> values) |
KeyToMultiValue(String name,
String... values) |
Modifier and Type | Method and Description |
---|---|
void |
addNottableValues(List<NottableString> values) |
void |
addValue(NottableString value) |
void |
addValue(String value) |
void |
addValues(List<String> values) |
void |
addValues(NottableString... values) |
void |
addValues(String... values) |
boolean |
equals(Object o) |
NottableString |
getName() |
List<NottableString> |
getValues() |
int |
hashCode() |
toString
fieldsExcludedFromEqualsAndHashCode, key
public KeyToMultiValue(NottableString name, NottableString... values)
public KeyToMultiValue(String name, Collection<String> values)
public KeyToMultiValue(NottableString name, Collection<NottableString> values)
public NottableString getName()
public List<NottableString> getValues()
public void addValue(String value)
public void addValue(NottableString value)
public void addNottableValues(List<NottableString> values)
public void addValues(String... values)
public void addValues(NottableString... values)
public boolean equals(Object o)
equals
in class ObjectWithReflectiveEqualsHashCodeToString
public int hashCode()
hashCode
in class ObjectWithReflectiveEqualsHashCodeToString
Copyright © 2018. All rights reserved.