Class NodeListCache
- java.lang.Object
-
- org.htmlunit.cyberneko.xerces.dom.NodeListCache
-
class NodeListCache extends java.lang.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 Summary
Fields Modifier and Type Field Description (package private) ChildNode
fChild
Last requested node.(package private) int
fChildIndex
Last requested node index.(package private) int
fLength
Cached node list length.(package private) ParentNode
fOwner
Owner of this cache(package private) NodeListCache
next
Pointer to the next object on the list, only meaningful when actually stored in the free list.
-
Constructor Summary
Constructors Constructor Description NodeListCache(ParentNode owner)
-
-
-
Field Detail
-
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
NodeListCache next
Pointer to the next object on the list, only meaningful when actually stored in the free list.
-
-
Constructor Detail
-
NodeListCache
NodeListCache(ParentNode owner)
-
-