Class NodeListCache

java.lang.Object
org.htmlunit.cyberneko.xerces.dom.NodeListCache

class NodeListCache extends Object
This class is used, via a pool managed on CoreDocumentImpl, in ParentNode to improve performance of the NodeList accessors, getLength() and item(i).

  • Field Details

    • fLength

      int fLength
      Cached node list length.
    • fChildIndex

      int fChildIndex
      Last requested node index.
    • fChild

      ChildNode fChild
      Last requested node.
    • fOwner

      ParentNode fOwner
      Owner of this cache
    • next

      Pointer to the next object on the list, only meaningful when actually stored in the free list.
  • Constructor Details