public abstract class StateNodeNodeList extends NodeList<StateNode>
StateNodes.
For internal use only. May be renamed or removed in a future release.
NodeList.SetView<T extends Serializable>| Modifier | Constructor and Description |
|---|---|
protected |
StateNodeNodeList(StateNode node)
Creates a new list for the given node.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
add(int index,
StateNode item)
Inserts an item at the given index of the list.
|
protected void |
addAll(Collection<? extends StateNode> items)
Adds all provided items to the end of the list.
|
protected void |
clear()
Removes all nodes, including those not known by the server.
|
void |
forEachChild(Consumer<StateNode> action)
Passes each child node instance to the given consumer.
|
protected boolean |
isNodeValues()
Checks whether this list contains node values.
|
protected StateNode |
remove(int index)
Removes the item at the given index.
|
add, collectChanges, generateChangesFromEmpty, get, getChangeTracker, indexOf, iterator, onDetach, sizeallowsChanges, attachPotentialChild, detatchPotentialChild, getNode, onAttachprotected StateNodeNodeList(StateNode node)
node - the node that the list belongs toprotected boolean isNodeValues()
NodeListisNodeValues in class NodeList<StateNode>true if this list contains node values;
false if this list contains primitive valuesprotected void add(int index,
StateNode item)
NodeListprotected void addAll(Collection<? extends StateNode> items)
NodeListprotected StateNode remove(int index)
NodeListprotected void clear()
NodeListpublic void forEachChild(Consumer<StateNode> action)
NodeFeatureforEachChild in class NodeList<StateNode>action - the consumer that accepts each childCopyright © 2025. All rights reserved.