public abstract class QueryTreeNodeList<N extends QueryTreeNode> extends QueryTreeNode implements java.lang.Iterable<N>
AUTOINCREMENT_CREATE_MODIFY, AUTOINCREMENT_INC_INDEX, AUTOINCREMENT_IS_AUTOINCREMENT_INDEX, AUTOINCREMENT_START_INDEX
Constructor and Description |
---|
QueryTreeNodeList() |
Modifier and Type | Method and Description |
---|---|
void |
add(int index,
N n) |
void |
add(N n) |
void |
addAll(QueryTreeNodeList<N> other) |
void |
clear() |
void |
copyFrom(QueryTreeNode node)
Fill this node with a deep copy of the given node.
|
void |
destructiveAddAll(QueryTreeNodeList<N> other) |
N |
get(int index) |
protected java.util.List<N> |
getList() |
int |
indexOf(N n) |
boolean |
isEmpty() |
java.util.Iterator<N> |
iterator() |
void |
printSubNodes(int depth)
Prints the sub-nodes of this object.
|
N |
remove(int index) |
void |
remove(N n) |
void |
set(int index,
N n) |
int |
size() |
accept, convertDefaultNode, debugFlush, debugPrint, formatNodeString, getBeginOffset, getDebugOutput, getEndOffset, getNodeFactory, getNodeType, getNullNode, getParserContext, getStatementType, getUserData, init, init, init, init, init, init, init, init, init, init, init, init, init, init, isInstanceOf, makeTableName, makeTableName, nodeHeader, printLabel, setBeginOffset, setDebugOutput, setEndOffset, setNodeType, setParserContext, setUserData, stackPrint, toString, treePrint, treePrint, treePrint
public final int size()
protected java.util.List<N> getList()
public final boolean isEmpty()
public N get(int index)
public void add(N n)
public final N remove(int index)
public final void remove(N n)
public final int indexOf(N n)
public final void set(int index, N n)
public final void add(int index, N n)
public final void addAll(QueryTreeNodeList<N> other)
public final void clear()
public final java.util.Iterator<N> iterator()
iterator
in interface java.lang.Iterable<N extends QueryTreeNode>
public final void destructiveAddAll(QueryTreeNodeList<N> other)
public void copyFrom(QueryTreeNode node) throws StandardException
copyFrom
in class QueryTreeNode
StandardException
public void printSubNodes(int depth)
printSubNodes
in class QueryTreeNode
depth
- The depth to indent the sub-nodesCopyright © 2013. All Rights Reserved.