Class Element.NodeList

All Implemented Interfaces:
Serializable, Cloneable, Iterable<Node>, Collection<Node>, List<Node>, RandomAccess, SequencedCollection<Node>
Enclosing class:
Element

static final class Element.NodeList extends ArrayList<Node>
  • Field Details

    • validChildren

      boolean validChildren
      Tracks if the children have valid sibling indices. We only need to reindex on siblingIndex() demand.
  • Constructor Details

    • NodeList

      public NodeList(int size)
  • Method Details

    • modCount

      int modCount()
      The modCount is used to invalidate the cached element children.
    • incrementMod

      void incrementMod()