com.fasterxml.aalto.util
Class NameTable

java.lang.Object
  extended by 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
protected NameTable()
           
 
Method Summary
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 Fasterxml.com. All Rights Reserved.