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) ChildNodeLast requested node.(package private) intLast requested node index.(package private) intCached node list length.(package private) ParentNodeOwner of this cache(package private) NodeListCachePointer 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)
-