public abstract class QueryTreeNodeList<N extends QueryTreeNode> extends QueryTreeNode implements 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 List<N> |
getList() |
int |
indexOf(N n) |
boolean |
isEmpty() |
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, treePrintpublic final int size()
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 Iterator<N> iterator()
iterator in interface Iterable<N extends QueryTreeNode>public final void destructiveAddAll(QueryTreeNodeList<N> other)
public void copyFrom(QueryTreeNode node) throws StandardException
copyFrom in class QueryTreeNodeStandardExceptionpublic void printSubNodes(int depth)
printSubNodes in class QueryTreeNodedepth - The depth to indent the sub-nodesCopyright © 2015 FoundationDB, LLC. All rights reserved.