Package com.fasterxml.aalto.util
Class NameTable
java.lang.Object
com.fasterxml.aalto.util.NameTable
- Direct Known Subclasses:
ByteBasedPNameTable
,CharBasedPNameTable
,WNameTable
This class defines the basic high-level interface for symbol table
implementations, especially regarding how they are obtained and
reused. Most of actual use functionality is in sub-classes, since
access details depend on how symbols are handled at low level.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract boolean
Method called to check to quickly see if a child symbol table may have gotten additional entries.abstract int
size()
-
Constructor Details
-
NameTable
protected NameTable()
-
-
Method Details
-
size
public abstract int size() -
maybeDirty
public abstract boolean maybeDirty()Method called to check to quickly see if a child symbol table may have gotten additional entries. Used for checking to see if a child table should be merged into shared table.
-