| Modifier and Type | Class and Description |
|---|---|
| public static class | HuffmanTable.
This static class represents a code for use in huffman tables. |
| Modifier and Type | Field and Description |
|---|---|
| private InternalNode |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static String | |
| public long | |
| public void | |
| private void | |
| public String |
| rootNode | back to summary |
|---|---|
| private InternalNode rootNode | |
| HuffmanTable | back to summary |
|---|---|
| public HuffmanTable() | |
| codeTableToString | back to summary |
|---|---|
| public static String codeTableToString(List<HuffmanTable. | |
| decode | back to summary |
|---|---|
| public long decode(ImageInputStream iis) throws IOException | |
| initTree | back to summary |
|---|---|
| public void initTree(List<HuffmanTable. | |
| preprocessCodes | back to summary |
|---|---|
| private void preprocessCodes(List<HuffmanTable. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv int | |
| pack-priv final boolean | |
| pack-priv final int | |
| pack-priv final int | |
| pack-priv final int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String |
| code | back to summary |
|---|---|
| pack-priv int code | |
| isLowerRange | back to summary |
|---|---|
| pack-priv final boolean isLowerRange | |
| prefixLength | back to summary |
|---|---|
| pack-priv final int prefixLength | |
| rangeLength | back to summary |
|---|---|
| pack-priv final int rangeLength | |
| rangeLow | back to summary |
|---|---|
| pack-priv final int rangeLow | |
| Code | back to summary |
|---|---|
| public Code(int prefixLength, int rangeLength, int rangeLow, boolean isLowerRange) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |