public class TableCollection extends NodeCollection
Table nodes.| Modifier and Type | Method and Description |
|---|---|
Node |
get(int index)
Retrieves a Table at the given index.
|
Node[] |
toArray()
Copies all tables from the collection to a new array of tables.
|
add, clear, contains, getContainer, getCount, getCurrentNode, getNextMatchingNode, indexOf, insert, iterator, remove, removeAtpublic Node get(int index)
The index is zero-based.
Negative indexes are allowed and indicate access from the back of the collection. For example -1 means the last item, -2 means the second before last and so on.
If index is greater than or equal to the number of items in the list, this returns a null reference.
If index is negative and its absolute value is greater than the number of items in the list, this returns a null reference.
get in class NodeCollectionindex - An index into the collection.Table value.public Node[] toArray()
toArray in class NodeCollection