- All Known Subinterfaces:
DOMNodeList,ElementList
This library's iterable version of the old
NodeList.-
Method Summary
Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
Method Details
-
contains
Determine whether this list contains the given node.- Parameters:
node- the node to check for.- Returns:
trueif this list contains the node,falseotherwise, even ifnodeis a descendant of the child nodes.
-
item
Get the node located at theindexposition in this list.For better performance, please use an iterator instead of this method.
-
isEmpty
boolean isEmpty()Check whether this list is empty.- Returns:
trueif this list is empty.
-