public class OverrideMap extends java.util.HashMap<java.lang.String,PropertySet> implements java.io.Serializable, Mergable<OverrideMap>
Member
's UID to a set of property overrides.Constructor and Description |
---|
OverrideMap() |
OverrideMap(OverrideMap copy,
boolean localOnly) |
Modifier and Type | Method and Description |
---|---|
void |
compact()
Removes any mappings that are empty property sets.
|
void |
extend(OverrideMap other)
Used for applying inheritance, extends our values with those from other.
|
PropertySet |
getOrCreate(java.lang.String key)
Gets the property set, creating it for the key if necessary.
|
void |
merge(OverrideMap other)
Merges the values from other collection into this one.
|
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
public OverrideMap()
public OverrideMap(OverrideMap copy, boolean localOnly)
public void extend(OverrideMap other)
other
- public PropertySet getOrCreate(java.lang.String key)
key
- public void merge(OverrideMap other)
Mergable
merge
in interface Mergable<OverrideMap>
public void compact()