public class NodeListIter extends Object implements ResettableIter<Node>
NodeList| Constructor and Description |
|---|
NodeListIter(NodeList nodeList)
构造, 根据给定
NodeList 创建NodeListIterator |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
Node |
next() |
void |
remove()
Throws
UnsupportedOperationException. |
void |
reset()
重置,重置后可重新遍历
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic void remove()
UnsupportedOperationException.remove in interface Iterator<Node>UnsupportedOperationException - alwayspublic void reset()
ResettableIterreset in interface ResettableIter<Node>Copyright © 2025. All rights reserved.