public class MapPutChange extends NodeFeatureChange
For internal use only. May be renamed or removed in a future release.
| Constructor and Description |
|---|
MapPutChange(NodeFeature map,
String key,
Object value)
Creates a new put change.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getKey()
Gets the key of the change.
|
Object |
getValue()
Gets the new value.
|
protected void |
populateJson(elemental.json.JsonObject json,
ConstantPool constantPool)
Overridden by subclasses to populate a JSON object when serializing.
|
getFeaturegetNode, toJsonpublic MapPutChange(NodeFeature map, String key, Object value)
map - the changed mapkey - the key of the changed valuevalue - the new valuepublic String getKey()
public Object getValue()
protected void populateJson(elemental.json.JsonObject json,
ConstantPool constantPool)
NodeChangepopulateJson in class NodeFeatureChangejson - the json object to populateconstantPool - the constant pool to use for serializing constant pool
referencesCopyright © 2025. All rights reserved.