Class Node.NodeIterator

java.lang.Object
org.mozilla.javascript.Node.NodeIterator
All Implemented Interfaces:
Iterator<Node>
Enclosing class:
Node

public class Node.NodeIterator extends Object implements Iterator<Node>
Iterates over the children of this Node. Supports child removal. Not thread-safe. If anyone changes the child list before the iterator finishes, the results are undefined and probably bad.
  • Constructor Details

    • NodeIterator

      public NodeIterator()
  • Method Details