public final class PropertiesMap extends Object
This object is immutable.
Modifier and Type | Field and Description |
---|---|
private static Comparator<PropertiesEntry<?>> |
COMPARATOR |
private static PropertiesMap |
EMPTY |
private List<PropertiesEntry<?>> |
propertyValues |
Modifier | Constructor and Description |
---|---|
private |
PropertiesMap(List<PropertiesEntry<?>> list) |
Modifier and Type | Method and Description |
---|---|
String |
asString() |
static PropertiesMap |
create(PropertiesEntry<?>[] propertiesEntry) |
static PropertiesMap |
empty() |
boolean |
equals(Object object) |
int |
hashCode() |
String |
toString() |
PropertiesMap |
with(PropertiesEntry<?> propertiesEntry) |
PropertiesMap |
with(PropertiesMap propertiesMap) |
private static final PropertiesMap EMPTY
private static final Comparator<PropertiesEntry<?>> COMPARATOR
private final List<PropertiesEntry<?>> propertyValues
private PropertiesMap(List<PropertiesEntry<?>> list)
public PropertiesMap with(PropertiesEntry<?> propertiesEntry)
public PropertiesMap with(PropertiesMap propertiesMap)
public static PropertiesMap empty()
public static PropertiesMap create(PropertiesEntry<?>[] propertiesEntry)
public String asString()