T - the type of the items in the node listpublic class ListClearChange<T extends Serializable> extends AbstractListChange<T>
list node feature.
For internal use only. May be renamed or removed in a future release.
| Constructor and Description |
|---|
ListClearChange(NodeList<T> list)
Creates a new list clear change.
|
| Modifier and Type | Method and Description |
|---|---|
AbstractListChange<T> |
copy(int indx)
Gets a copy of the change with the same data except
index. |
protected void |
populateJson(elemental.json.JsonObject json,
ConstantPool constantPool)
Overridden by subclasses to populate a JSON object when serializing.
|
getIndex, getNodeList, setIndexgetFeaturegetNode, toJsonpublic AbstractListChange<T> copy(int indx)
AbstractListChangeindex.copy in class AbstractListChange<T extends Serializable>indx - the new index of the changeprotected 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.