public class JsonMap extends LiteMap<String,Object> implements Versionable<Integer>
LiteMap that preserves the order of elements and adds support for POF serialization without fidelity loss in order to support JSON pass-through.| Modifier and Type | Class and Description |
|---|---|
static class |
JsonMap.Serializer
POF serializer for JsonMap.
|
LiteMap.EntryIterator<K,V>, LiteMap.EntrySetAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
JsonMap()
Construct a JsonMap.
|
JsonMap(Map<? extends String,?> map)
Construct a JsonMap with the same mappings as the given map.
|
| Modifier and Type | Method and Description |
|---|---|
Integer |
getVersionIndicator()
Get the version indicator for this object.
|
void |
incrementVersion()
Update the version to the next logical version indicator.
|
protected Map<String,Object> |
instantiateMap()
(Factory pattern) Instantiate a Map object to store entries in once the "lite" threshold has been exceeded.
|
checkShrinkFromOther, clear, clone, containsKey, entrySet, get, instantiateEntry, instantiateEntrySet, isEmpty, put, readExternal, readExternal, remove, size, writeExternal, writeExternalcontainsValue, equals, hashCode, keySet, putAll, toString, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitisVersioningEnabledcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllprotected Map<String,Object> instantiateMap()
LiteMapinstantiateMap in class LiteMap<String,Object>public Integer getVersionIndicator()
VersionablegetVersionIndicator in interface Versionable<Integer>public void incrementVersion()
VersionableincrementVersion in interface Versionable<Integer>