Package lzma.sdk.lz
Class BinTree
- java.lang.Object
-
- lzma.sdk.lz.InWindow
-
- lzma.sdk.lz.BinTree
-
public class BinTree extends InWindow
-
-
Field Summary
Fields Modifier and Type Field Description (package private) int_cutValue(package private) int_cyclicBufferPos(package private) int_cyclicBufferSize(package private) int[]_hash(package private) int_hashMask(package private) int_hashSizeSum(package private) int_matchMaxLen(package private) int[]_sonprivate static int[]CrcTableprivate booleanHASH_ARRAY(package private) static intkBT2HashSize(package private) static intkEmptyHashValue(package private) intkFixHashSize(package private) static intkHash2Size(package private) static intkHash3Offset(package private) static intkHash3Size(package private) static intkMaxValForNormalize(package private) intkMinMatchCheck(package private) intkNumHashDirectBytes(package private) static intkStartMaxLen-
Fields inherited from class lzma.sdk.lz.InWindow
_bufferBase, _bufferOffset, _pos, _streamPos
-
-
Constructor Summary
Constructors Constructor Description BinTree(int numHashBytes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancreate(int historySize, int keepAddBufferBefore, int matchMaxLen, int keepAddBufferAfter)intgetMatches(int[] distances)voidinit()voidmovePos()(package private) voidnormalize()(package private) voidnormalizeLinks(int[] items, int numItems, int subValue)voidskip(int num)-
Methods inherited from class lzma.sdk.lz.InWindow
create, free, getIndexByte, getMatchLen, getNumAvailableBytes, moveBlock, readBlock, reduceOffsets, releaseStream, setStream
-
-
-
-
Field Detail
-
_cyclicBufferPos
int _cyclicBufferPos
-
_cyclicBufferSize
int _cyclicBufferSize
-
_matchMaxLen
int _matchMaxLen
-
_son
int[] _son
-
_hash
int[] _hash
-
_cutValue
int _cutValue
-
_hashMask
int _hashMask
-
_hashSizeSum
int _hashSizeSum
-
HASH_ARRAY
private final boolean HASH_ARRAY
-
kHash2Size
static final int kHash2Size
- See Also:
- Constant Field Values
-
kHash3Size
static final int kHash3Size
- See Also:
- Constant Field Values
-
kBT2HashSize
static final int kBT2HashSize
- See Also:
- Constant Field Values
-
kStartMaxLen
static final int kStartMaxLen
- See Also:
- Constant Field Values
-
kHash3Offset
static final int kHash3Offset
- See Also:
- Constant Field Values
-
kEmptyHashValue
static final int kEmptyHashValue
- See Also:
- Constant Field Values
-
kMaxValForNormalize
static final int kMaxValForNormalize
- See Also:
- Constant Field Values
-
kNumHashDirectBytes
int kNumHashDirectBytes
-
kMinMatchCheck
int kMinMatchCheck
-
kFixHashSize
int kFixHashSize
-
CrcTable
private static final int[] CrcTable
-
-
Method Detail
-
init
public void init() throws java.io.IOException
-
movePos
public void movePos() throws java.io.IOException
-
create
public boolean create(int historySize, int keepAddBufferBefore, int matchMaxLen, int keepAddBufferAfter)
-
getMatches
public int getMatches(int[] distances) throws java.io.IOException- Throws:
java.io.IOException
-
skip
public void skip(int num) throws java.io.IOException- Throws:
java.io.IOException
-
normalizeLinks
void normalizeLinks(int[] items, int numItems, int subValue)
-
normalize
void normalize()
-
-