public static class HuffmanCodec.DecoderInputs extends Object
CanonicalFast64CodeWordDecoder
or recreate the code.Constructor and Description |
---|
HuffmanCodec.DecoderInputs()
Ctor may be passed to
HuffmanCodec to obtain the assigned
length[] and symbol[] data and the shortest code word. |
HuffmanCodec.DecoderInputs(BitVector shortestCodeWord,
int[] length,
int[] symbol)
Ctor may be used to explicitly populate an instance with the caller's
data.
|
Modifier and Type | Method and Description |
---|---|
int[] |
getLengths()
Return the codeWord bit lengths in the non-decreasing order used to
construct the
CanonicalFast64CodeWordDecoder . |
BitVector |
getShortestCodeWord()
The shortest code word.
|
int[] |
getSymbols()
Return the symbol[] in the permuted order used to construct the
CanonicalFast64CodeWordDecoder . |
public HuffmanCodec.DecoderInputs()
HuffmanCodec
to obtain the assigned
length[] and symbol[] data and the shortest code word.public HuffmanCodec.DecoderInputs(BitVector shortestCodeWord, int[] length, int[] symbol)
shortestCodeWord
- length
- symbol
- public BitVector getShortestCodeWord()
public int[] getSymbols()
CanonicalFast64CodeWordDecoder
. This information is
transient.public int[] getLengths()
CanonicalFast64CodeWordDecoder
. This information is
transient.Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.