- All Implemented Interfaces:
Serializable, Cloneable, Iterable<Node>, Collection<Node>, List<Node>, RandomAccess, SequencedCollection<Node>
A vector-based collection of XML nodes.
This class extends Vector to provide specialized methods for managing collections of Node objects. It includes methods for finding nodes by name or by name suffix.
- See Also:
Field Summary
Fields inherited from class Vector
capacityIncrement, elementCount, elementDataFields inherited from class AbstractList
modCountConstructor Summary
ConstructorsMethod Summary
All MethodsMethods inherited from class Vector
add, add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, forEach, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, iterator, lastElement, lastIndexOf, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeIf, removeRange, replaceAll, retainAll, set, setElementAt, setSize, size, sort, spliterator, subList, toArray, toArray, toString, trimToSizeMethods inherited from interface Collection
parallelStream, stream, toArrayMethods inherited from interface List
addFirst, addLast, getFirst, getLast, removeFirst, removeLast, reversed
Constructor Details
NodeList
public NodeList()Creates an empty NodeList.
Method Details
getNode
Gets the node at the specified index.- Parameters:
n- the index of the node to retrieve- Returns:
- the node at the specified index
getNode
getEndsWith