T
- the type of the items in the node listpublic abstract class AbstractListChange<T extends Serializable> extends NodeFeatureChange
list
node
feature.Modifier | Constructor and Description |
---|---|
protected |
AbstractListChange(NodeList<T> list,
int index)
Creates a new list change.
|
Modifier and Type | Method and Description |
---|---|
abstract AbstractListChange<T> |
copy(int index)
Gets a copy of the change with the same data except
index . |
int |
getIndex()
Gets the index of the change.
|
protected NodeList<T> |
getNodeList()
Gets a changed list.
|
getFeature, populateJson
getNode, toJson
public int getIndex()
public abstract AbstractListChange<T> copy(int index)
index
.index
- the new index of the changeCopyright © 2020. All rights reserved.