|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
dsiutils
.
@Deprecated public interface PrefixCoder
A coder based on a set of prefix-free codewords.
Not all coders are codeword-based (for instance, arithmetic coding
is not codeword-based). However, coders that are based on prefix-free codewords are invited
to return by means of Codec.coder()
an
implementation of this interface.
Note that the coder returned by a PrefixCodec
is
an implementation of this interface.
Method Summary | |
---|---|
BitVector[] |
codeWords()
Deprecated. Provides access to the codewords. |
Methods inherited from interface it.unimi.dsi.mg4j.compression.Coder |
---|
encode, encode, flush, flush |
Method Detail |
---|
BitVector[] codeWords()
codeWords()
is
the first (leftmost) bit of the corresponding codeword: in other words, codewords are stored in
right-to-left fashion.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |