com.fasterxml.aalto.util

## Class NameTable

- java.lang.Object
- - com.fasterxml.aalto.util.NameTable

- Direct Known Subclasses:
    ByteBasedPNameTable, CharBasedPNameTable, WNameTable

      public abstract class NameTable
      extends 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 and Description
    --- | ---
    `protected` | `NameTable()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and 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.

Copyright © 2012-2015 FasterXML. All Rights Reserved.