Package org.apache.xerces.util
Class SoftReferenceSymbolTable.SREntry
java.lang.Object
java.lang.ref.Reference
java.lang.ref.SoftReference
org.apache.xerces.util.SoftReferenceSymbolTable.SREntry
- Enclosing class:
SoftReferenceSymbolTable
This class is a symbol table entry. Each entry acts as a node
in a doubly-linked list.
The "SR" stands for SoftReference.
-
Field Summary
FieldsModifier and TypeFieldDescriptionint
The bucket this entry is contained in; -1 if it has been removed from the table.The next entry.The previous entry. -
Constructor Summary
ConstructorsConstructorDescriptionSREntry
(String internedSymbol, char[] ch, int offset, int length, SoftReferenceSymbolTable.SREntry next, int bucket, ReferenceQueue q) Constructs a new entry from the specified symbol information and next entry reference.SREntry
(String internedSymbol, SoftReferenceSymbolTable.SREntry next, int bucket, ReferenceQueue q) Constructs a new entry from the specified symbol and next entry reference. -
Method Summary
Methods inherited from class java.lang.ref.SoftReference
get
Methods inherited from class java.lang.ref.Reference
clear, clone, enqueue, isEnqueued, reachabilityFence, refersTo
-
Field Details
-
next
The next entry. -
prev
The previous entry. -
bucket
public int bucketThe bucket this entry is contained in; -1 if it has been removed from the table.
-
-
Constructor Details
-
SREntry
public SREntry(String internedSymbol, SoftReferenceSymbolTable.SREntry next, int bucket, ReferenceQueue q) Constructs a new entry from the specified symbol and next entry reference. -
SREntry
public SREntry(String internedSymbol, char[] ch, int offset, int length, SoftReferenceSymbolTable.SREntry next, int bucket, ReferenceQueue q) Constructs a new entry from the specified symbol information and next entry reference.
-