public final class Dictionary extends Object
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 and Description |
---|
Dictionary() |
Modifier and Type | Method and Description |
---|---|
static ByteBuffer |
getData() |
static void |
setData(ByteBuffer newData,
int[] newSizeBits) |
public static void setData(ByteBuffer newData, int[] newSizeBits)
public static ByteBuffer getData()
Copyright © 2002–2025 Gargoyle Software Inc.. All rights reserved.