@ThreadSafe protected static class SessionNode.InsertedChildReferences extends Object implements Iterable<SessionNode.Insertions>
Modifier | Constructor and Description |
---|---|
protected |
SessionNode.InsertedChildReferences() |
Modifier and Type | Method and Description |
---|---|
void |
insertBefore(ChildReference before,
ChildReference inserted) |
ChildReference |
inserted(NodeKey key)
Get the child reference for the inserted node with the supplied key.
|
Iterator<ChildReferences.ChildInsertions> |
insertions(Name name) |
ChildReferences.ChildInsertions |
insertionsBefore(NodeKey key) |
Iterator<SessionNode.Insertions> |
iterator() |
boolean |
remove(ChildReference inserted) |
boolean |
remove(NodeKey key) |
int |
size()
Get the number of inserted child references.
|
protected int |
size(Name name) |
String |
toString() |
StringBuilder |
toString(StringBuilder sb) |
protected SessionNode.InsertedChildReferences()
public int size()
public Iterator<SessionNode.Insertions> iterator()
iterator
in interface Iterable<SessionNode.Insertions>
public ChildReference inserted(NodeKey key)
key
- the key for the inserted child referencepublic Iterator<ChildReferences.ChildInsertions> insertions(Name name)
public ChildReferences.ChildInsertions insertionsBefore(NodeKey key)
public void insertBefore(ChildReference before, ChildReference inserted)
public boolean remove(NodeKey key)
public boolean remove(ChildReference inserted)
public StringBuilder toString(StringBuilder sb)
protected int size(Name name)
Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.