Top Fields Constructors Methods
org.tukaani.xz.lz

pack-priv final Class BT4

extends LZEncoder
Class Inheritance
Imports
org.tukaani.xz.ArrayCache

Field Summary

Modifier and TypeField and Description
private int
private final int
private final int
private final Hash234
private int
private final Matches
private final int[]
Inherited from org.tukaani.xz.lz.LZEncoder:
bufbufSizematchLenMaxMF_BT4MF_HC4niceLenreadPos

Constructor Summary

AccessConstructor and Description
pack-priv
BT4(int dictSize, int beforeSizeMin, int readAheadMax, int niceLen, int matchLenMax, int depthLimit, ArrayCache arrayCache)

Method Summary

Modifier and TypeMethod and Description
public Matches
getMatches()

Implements abstract org.tukaani.xz.lz.LZEncoder.getMatches.

Runs match finder for the next byte and returns the matches found.
pack-priv static int
getMemoryUsage(int dictSize)

private int
public void
private void
skip(int niceLenLimit, int currentMatch)

public void
skip(int len)

Implements abstract org.tukaani.xz.lz.LZEncoder.skip.

Skips the given number of bytes in the match finder.
Inherited from org.tukaani.xz.lz.LZEncoder:
copyUncompressedfillWindowgetAvailgetBytegetBytegetInstancegetMatchLengetMatchLengetMemoryUsagegetPoshasEnoughDataisStartedmovePosnormalizesetFinishingsetFlushingsetPresetDictverifyMatches

Field Detail

cyclicPosback to summary
private int cyclicPos
cyclicSizeback to summary
private final int cyclicSize
depthLimitback to summary
private final int depthLimit
hashback to summary
private final Hash234 hash
lzPosback to summary
private int lzPos
matchesback to summary
private final Matches matches
treeback to summary
private final int[] tree

Constructor Detail

BT4back to summary
pack-priv BT4(int dictSize, int beforeSizeMin, int readAheadMax, int niceLen, int matchLenMax, int depthLimit, ArrayCache arrayCache)

Method Detail

getMatchesback to summary
public Matches getMatches()

Implements abstract org.tukaani.xz.lz.LZEncoder.getMatches.

Doc from org.tukaani.xz.lz.LZEncoder.getMatches.

Runs match finder for the next byte and returns the matches found.

getMemoryUsageback to summary
pack-priv static int getMemoryUsage(int dictSize)
movePosback to summary
private int movePos()
putArraysToCacheback to summary
public void putArraysToCache(ArrayCache arrayCache)

Overrides org.tukaani.xz.lz.LZEncoder.putArraysToCache.

skipback to summary
private void skip(int niceLenLimit, int currentMatch)
skipback to summary
public void skip(int len)

Implements abstract org.tukaani.xz.lz.LZEncoder.skip.

Doc from org.tukaani.xz.lz.LZEncoder.skip.

Skips the given number of bytes in the match finder.