| Modifier and Type | Field and Description |
|---|---|
| private int | alphabetSize
The maximal alphabet size in this group. |
| pack-priv int[] | codes
Storage for Huffman lookup tables. |
| pack-priv int[] |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static void | decode(HuffmanTreeGroup
target POJO group, BitReader data source br)Decodes Huffman trees from input stream and constructs lookup tables. |
| pack-priv static void | init(HuffmanTreeGroup
POJO to be initialised group, int the maximal alphabet size in this group alphabetSize, int number of Huffman codes n)Initializes the Huffman tree group. |
| alphabetSize | back to summary |
|---|---|
| private int alphabetSize The maximal alphabet size in this group. | |
| codes | back to summary |
|---|---|
| pack-priv int[] codes Storage for Huffman lookup tables. | |
| trees | back to summary |
|---|---|
| pack-priv int[] trees Offsets of distinct lookup tables in | |
| HuffmanTreeGroup | back to summary |
|---|---|
| pack-priv HuffmanTreeGroup() | |
| decode | back to summary |
|---|---|
| pack-priv static void decode(HuffmanTreeGroup group, BitReader br) Decodes Huffman trees from input stream and constructs lookup tables.
| |
| init | back to summary |
|---|---|
| pack-priv static void init(HuffmanTreeGroup group, int alphabetSize, int n) Initializes the Huffman tree group.
| |