public class NodeList
extends java.util.ArrayList
Constructor and Description |
---|
NodeList()
Constructs an empty NodeList.
|
NodeList(NodeList list)
Constructs a NodeList with the elements from the specified list.
|
Modifier and Type | Method and Description |
---|---|
Node |
getNode(int index)
Returns the Node at the given index.
|
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
public NodeList()
public NodeList(NodeList list)
list
- the list whose elements are to be added to this listpublic Node getNode(int index)
index
- the indexCopyright (c) IBM Corp. and others 2000, 2011. All Rights Reserved.