Package com.jcraft.jzlib
Class Tree
- java.lang.Object
-
- com.jcraft.jzlib.Tree
-
final class Tree extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description (package private) static byte[]_dist_code(package private) static byte[]_length_code(package private) static int[]base_dist(package private) static int[]base_lengthprivate static intBL_CODES(package private) static byte[]bl_order(package private) static intBuf_sizeprivate static intD_CODES(package private) static intDIST_CODE_LEN(package private) short[]dyn_tree(package private) static intEND_BLOCK(package private) static int[]extra_blbits(package private) static int[]extra_dbits(package private) static int[]extra_lbitsprivate static intHEAP_SIZEprivate static intL_CODESprivate static intLENGTH_CODESprivate static intLITERALSprivate static intMAX_BITS(package private) static intMAX_BL_BITS(package private) intmax_code(package private) static intREP_3_6(package private) static intREPZ_11_138(package private) static intREPZ_3_10(package private) StaticTreestat_desc
-
Constructor Summary
Constructors Constructor Description Tree()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private static intbi_reverse(int code, int len)(package private) voidbuild_tree(Deflate s)(package private) static intd_code(int dist)(package private) voidgen_bitlen(Deflate s)private static voidgen_codes(short[] tree, int max_code, short[] bl_count, short[] next_code)
-
-
-
Field Detail
-
MAX_BITS
private static final int MAX_BITS
- See Also:
- Constant Field Values
-
BL_CODES
private static final int BL_CODES
- See Also:
- Constant Field Values
-
D_CODES
private static final int D_CODES
- See Also:
- Constant Field Values
-
LITERALS
private static final int LITERALS
- See Also:
- Constant Field Values
-
LENGTH_CODES
private static final int LENGTH_CODES
- See Also:
- Constant Field Values
-
L_CODES
private static final int L_CODES
- See Also:
- Constant Field Values
-
HEAP_SIZE
private static final int HEAP_SIZE
- See Also:
- Constant Field Values
-
MAX_BL_BITS
static final int MAX_BL_BITS
- See Also:
- Constant Field Values
-
END_BLOCK
static final int END_BLOCK
- See Also:
- Constant Field Values
-
REP_3_6
static final int REP_3_6
- See Also:
- Constant Field Values
-
REPZ_3_10
static final int REPZ_3_10
- See Also:
- Constant Field Values
-
REPZ_11_138
static final int REPZ_11_138
- See Also:
- Constant Field Values
-
extra_lbits
static final int[] extra_lbits
-
extra_dbits
static final int[] extra_dbits
-
extra_blbits
static final int[] extra_blbits
-
bl_order
static final byte[] bl_order
-
Buf_size
static final int Buf_size
- See Also:
- Constant Field Values
-
DIST_CODE_LEN
static final int DIST_CODE_LEN
- See Also:
- Constant Field Values
-
_dist_code
static final byte[] _dist_code
-
_length_code
static final byte[] _length_code
-
base_length
static final int[] base_length
-
base_dist
static final int[] base_dist
-
dyn_tree
short[] dyn_tree
-
max_code
int max_code
-
stat_desc
StaticTree stat_desc
-
-
Method Detail
-
d_code
static int d_code(int dist)
-
gen_bitlen
void gen_bitlen(Deflate s)
-
build_tree
void build_tree(Deflate s)
-
gen_codes
private static final void gen_codes(short[] tree, int max_code, short[] bl_count, short[] next_code)
-
bi_reverse
private static final int bi_reverse(int code, int len)
-
-