| Modifier and Type | Field and Description |
|---|---|
| private final int[] | |
| private int | |
| private final int | |
| private final int | |
| private final Hash234 | |
| private int | |
| private final Matches |
| Access | Constructor and Description |
|---|---|
| pack-priv | HC4(int dictSize, int beforeSizeMin, int readAheadMax, int niceLen, int matchLenMax, int depthLimit, ArrayCache arrayCache)
Creates a new LZEncoder with the HC4 match finder. |
| Modifier and Type | Method and Description |
|---|---|
| public Matches | getMatches()
Implements abstract org. |
| pack-priv static int | |
| private int | Returns: number of bytes available, including the current byteMoves to the next byte, checks that there is enough available space, and possibly normalizes the hash tables and the hash chain. |
| public void | |
| public void | skip(int len)
Implements abstract org. |
| chain | back to summary |
|---|---|
| private final int[] chain | |
| cyclicPos | back to summary |
|---|---|
| private int cyclicPos | |
| cyclicSize | back to summary |
|---|---|
| private final int cyclicSize | |
| depthLimit | back to summary |
|---|---|
| private final int depthLimit | |
| hash | back to summary |
|---|---|
| private final Hash234 hash | |
| lzPos | back to summary |
|---|---|
| private int lzPos | |
| matches | back to summary |
|---|---|
| private final Matches matches | |
| HC4 | back to summary |
|---|---|
| pack-priv HC4(int dictSize, int beforeSizeMin, int readAheadMax, int niceLen, int matchLenMax, int depthLimit, ArrayCache arrayCache) Creates a new LZEncoder with the HC4 match finder.
See | |
| getMatches | back to summary |
|---|---|
| public Matches getMatches() Implements abstract org. Doc from org. Runs match finder for the next byte and returns the matches found. | |
| getMemoryUsage | back to summary |
|---|---|
| pack-priv static int getMemoryUsage(int dictSize) Gets approximate memory usage of the match finder as kibibytes. | |
| movePos | back to summary |
|---|---|
| private int movePos() Moves to the next byte, checks that there is enough available space, and possibly normalizes the hash tables and the hash chain.
| |
| putArraysToCache | back to summary |
|---|---|
| public void putArraysToCache(ArrayCache arrayCache) Overrides org. | |
| skip | back to summary |
|---|---|
| public void skip(int len) Implements abstract org. Doc from org. Skips the given number of bytes in the match finder. | |