public interface IHuffConstants
IHuffConstants.BITS_PER_WORD
. However,
implementing the interface is preferred in which case
the values can be accessed simply as BITS_PER_WORD
, for example.
Modifier and Type | Field and Description |
---|---|
static int |
ALPH_SIZE
The size of the alphabet given the number of bits per chunk, this
should be 2^BITS_PER_WORD.
|
static int |
BITS_PER_INT
The standard number of bits needed to represent/store
an int, this is 32 in Java and many other languages.
|
static int |
BITS_PER_WORD
The standard number of bits per chunk/word when huffing.
|
static int |
MAGIC_NUMBER
Isolate the magic numbers in one place.
|
static int |
PSEUDO_EOF
The value of the PSEUDO_EOF character.
|
static int |
STORE_COUNTS
A value in files compressed with a HuffProcessor indicating
the code values are stored in Standard Count Format.
|
static int |
STORE_CUSTOM
A value in files compressed with a HuffProcessor indicating
the code values are stored in a custom format.
|
static int |
STORE_TREE
A value in files compressed with a HuffProcessor indicating
the code values are stored in Standard Tree Format.
|
static final int ALPH_SIZE
static final int BITS_PER_INT
static final int BITS_PER_WORD
static final int MAGIC_NUMBER
static final int PSEUDO_EOF
static final int STORE_COUNTS
static final int STORE_CUSTOM
static final int STORE_TREE