Class BinTree
- java.lang.Object
-
- org.glassfish.grizzly.compression.lzma.impl.lz.InWindow
-
- org.glassfish.grizzly.compression.lzma.impl.lz.BinTree
-
public class BinTree extends InWindow
BinTree- Author:
- Igor Pavlov
-
-
Field Summary
-
Fields inherited from class org.glassfish.grizzly.compression.lzma.impl.lz.InWindow
_blockSize, _bufferBase, _bufferOffset, _pos, _streamPos
-
-
Constructor Summary
Constructors Constructor Description BinTree()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
create(int historySize, int keepAddBufferBefore, int matchMaxLen, int keepAddBufferAfter)
int
getMatches(int[] distances)
void
init()
void
movePos()
void
setType(int numHashBytes)
void
skip(int num)
-
Methods inherited from class org.glassfish.grizzly.compression.lzma.impl.lz.InWindow
create, getIndexByte, getMatchLen, getNumAvailableBytes, moveBlock, readBlock, reduceOffsets, releaseBuffer, setBuffer
-
-
-
-
Method Detail
-
setType
public void setType(int numHashBytes)
-
init
public void init() throws IOException
- Overrides:
init
in classInWindow
- Throws:
IOException
-
movePos
public void movePos() throws IOException
- Overrides:
movePos
in classInWindow
- Throws:
IOException
-
create
public boolean create(int historySize, int keepAddBufferBefore, int matchMaxLen, int keepAddBufferAfter)
-
getMatches
public int getMatches(int[] distances) throws IOException
- Throws:
IOException
-
skip
public void skip(int num) throws IOException
- Throws:
IOException
-
-