SevenZip.Compression.LZ
Class BinTree

java.lang.Object
  extended by SevenZip.Compression.LZ.InWindow
      extended by SevenZip.Compression.LZ.BinTree

public class BinTree
extends InWindow


Field Summary
 
Fields inherited from class SevenZip.Compression.LZ.InWindow
_blockSize, _bufferBase, _bufferOffset, _pos, _streamPos
 
Constructor Summary
BinTree()
           
 
Method Summary
 boolean Create(int historySize, int keepAddBufferBefore, int matchMaxLen, int keepAddBufferAfter)
           
 int GetMatches(int[] distances)
           
 void Init()
           
 void MovePos()
           
 void SetCutValue(int cutValue)
           
 void SetType(int numHashBytes)
           
 void Skip(int num)
           
 
Methods inherited from class SevenZip.Compression.LZ.InWindow
Create, GetIndexByte, GetMatchLen, GetNumAvailableBytes, MoveBlock, ReadBlock, ReduceOffsets, ReleaseStream, SetStream
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BinTree

public BinTree()
Method Detail

SetType

public void SetType(int numHashBytes)

Init

public void Init()
          throws java.io.IOException
Overrides:
Init in class InWindow
Throws:
java.io.IOException

MovePos

public void MovePos()
             throws java.io.IOException
Overrides:
MovePos in class InWindow
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

SetCutValue

public void SetCutValue(int cutValue)