public class NodeArrayList extends ArrayList<Node> implements NodeList
modCount
Constructor and Description |
---|
NodeArrayList(Node node)
Creates a node ArrayList from the given Node children.
|
NodeArrayList(NodeList nodeList)
Creates a node ArrayList from the given NodeList.
|
Modifier and Type | Method and Description |
---|---|
int |
getLength() |
Node |
item(int 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
equals, hashCode
containsAll, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
containsAll, equals, hashCode
parallelStream, stream
public NodeArrayList(NodeList nodeList)
null
NodeList results in an empty NodeArrayList.nodeList
- a node listpublic NodeArrayList(Node node)
null
node or no children results in an empty
NodeArrayList.node
- node to get the children listCopyright © 2008–2023 Norconex Inc.. All rights reserved.