We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.flow.internal.change.
Class MapRemoveChange
- java.lang.Object
-
- com.vaadin.flow.internal.change.NodeChange
-
- com.vaadin.flow.internal.change.NodeFeatureChange
-
- com.vaadin.flow.internal.change.MapRemoveChange
-
All Implemented Interfaces:
public class MapRemoveChange extends NodeFeatureChange
Change describing a value removed from a map.
For internal use only. May be renamed or removed in a future release.
Since:
1.0
Author:
Vaadin Ltd
See Also:
-
-
Constructor Summary
Constructors Constructor Description MapRemoveChange(NodeMap map, String key)
Creates a new remove change.
-
Method Summary
All Methods Modifier and Type Method Description String
getKey()
Gets the removed key.
protected void
populateJson(elemental.json.JsonObject json, ConstantPool constantPool)
Overridden by subclasses to populate a JSON object when serializing.
-
Methods inherited from class com.vaadin.flow.internal.change.NodeFeatureChange
getFeature
-
Methods inherited from class com.vaadin.flow.internal.change.NodeChange
getNode, toJson
-
-
-
-
Method Detail
-
getKey
public String getKey()
Gets the removed key.
Returns:
the removed key
-
populateJson
protected void populateJson(elemental.json.JsonObject json, ConstantPool constantPool)
Description copied from class:
NodeChange
Overridden by subclasses to populate a JSON object when serializing.
Overrides:
populateJson
in classNodeFeatureChange
Parameters:
json
- the json object to populateconstantPool
- the constant pool to use for serializing constant pool references
-
-