Class InternCache

java.lang.Object
com.ctc.wstx.util.InternCache

public final class InternCache extends Object
Singleton class that implements "fast intern" functionality, essentially adding a layer that caches Strings that have been previously intern()ed, but that probably shouldn't be added to symbol tables. This is usually used by improving intern()ing of things like namespace URIs.
  • Field Details

  • Constructor Details

    • InternCache

      private InternCache()
  • Method Details