public class XValueChildrenList
extends java.lang.Object
composite node
Modifier and Type | Field and Description |
---|---|
static XValueChildrenList |
EMPTY |
Constructor and Description |
---|
XValueChildrenList() |
XValueChildrenList(int initialCapacity) |
Modifier and Type | Method and Description |
---|---|
void |
add(java.lang.String name,
XValue value) |
void |
add(XNamedValue value) |
void |
addBottomGroup(XValueGroup group)
Adds a node representing group of values to the bottom of a node children list
|
void |
addTopGroup(XValueGroup group)
Adds a node representing group of values to the top of a node children list
|
static XValueChildrenList |
bottomGroup(XValueGroup group) |
java.util.List<XValueGroup> |
getBottomGroups() |
java.lang.String |
getName(int i) |
java.util.List<XValueGroup> |
getTopGroups() |
XValue |
getValue(int i) |
static XValueChildrenList |
singleton(java.lang.String name,
XValue value) |
static XValueChildrenList |
singleton(XNamedValue value) |
int |
size() |
static XValueChildrenList |
topGroups(java.util.List<XValueGroup> topGroups) |
public static final XValueChildrenList EMPTY
public XValueChildrenList(int initialCapacity)
public XValueChildrenList()
public static XValueChildrenList singleton(java.lang.String name, XValue value)
public static XValueChildrenList singleton(XNamedValue value)
public static XValueChildrenList bottomGroup(XValueGroup group)
public static XValueChildrenList topGroups(java.util.List<XValueGroup> topGroups)
public void add(java.lang.String name, XValue value)
public void add(XNamedValue value)
public void addTopGroup(XValueGroup group)
public void addBottomGroup(XValueGroup group)
public int size()
public java.lang.String getName(int i)
public XValue getValue(int i)
public java.util.List<XValueGroup> getTopGroups()
public java.util.List<XValueGroup> getBottomGroups()