Class NodeListCache
- java.lang.Object
-
- org.htmlunit.cyberneko.xerces.dom.NodeListCache
-
class NodeListCache extends java.lang.ObjectThis 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) ChildNodefChildLast requested node.(package private) intfChildIndexLast requested node index.(package private) intfLengthCached node list length.(package private) ParentNodefOwnerOwner of this cache(package private) NodeListCachenextPointer 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)
-
-