Documentation of 'net.sourceforge.plantuml.brotli.Dictionary' Java class
Dictionary
net.sourceforge.plantuml.brotli

Class Dictionary



  • public final class Dictionary
    extends java.lang.Object
    Collection of static dictionary words.

    Dictionary content is loaded from binary resource when getData() is executed for the first time. Consequently, it saves memory and CPU in case dictionary is not required.

    One possible drawback is that multiple threads that need dictionary data may be blocked (only once in each classworld). To avoid this, it is enough to call getData() proactively.

    • Constructor Summary

      Constructors 
      Constructor and Description
      Dictionary() 
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static java.nio.ByteBuffer getData() 
      static void setData(java.nio.ByteBuffer data) 
      • Methods inherited from class java.lang.Object

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

      • Dictionary

        public Dictionary()
    • Method Detail

      • setData

        public static void setData(java.nio.ByteBuffer data)
      • getData

        public static java.nio.ByteBuffer getData()

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.