Class NameTable

  • Direct Known Subclasses:
    ByteBasedPNameTable, CharBasedPNameTable, WNameTable

    public abstract class NameTable
    extends java.lang.Object
    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 
      Modifier Constructor Description
      protected NameTable()  
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      abstract boolean maybeDirty()
      Method called to check to quickly see if a child symbol table may have gotten additional entries.
      abstract int size()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • NameTable

        protected NameTable()
    • Method Detail

      • 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.