Class NodeListCache
java.lang.Object
org.htmlunit.cyberneko.xerces.dom.NodeListCache
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
FieldsModifier and TypeFieldDescription(package private) ChildNode
Last requested node.(package private) int
Last requested node index.(package private) int
Cached node list length.(package private) ParentNode
Owner of this cache(package private) NodeListCache
Pointer to the next object on the list, only meaningful when actually stored in the free list. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
fLength
int fLengthCached node list length. -
fChildIndex
int fChildIndexLast requested node index. -
fChild
ChildNode fChildLast requested node. -
fOwner
ParentNode fOwnerOwner of this cache -
next
NodeListCache nextPointer to the next object on the list, only meaningful when actually stored in the free list.
-
-
Constructor Details
-
NodeListCache
NodeListCache(ParentNode owner)
-