protected abstract static class LZWCodec.AbstractLZWDictionary extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
CODE_CLEARTABLE
Special code to clear the table
|
static int |
CODE_EOF
Special code for end of file
|
protected byte[][] |
m_aTab |
protected int |
m_nCodeBits |
protected int |
m_nFreeCode |
static int |
MAX_CODE
Maximum index
|
protected static org.slf4j.Logger |
s_aLogger |
| Constructor and Description |
|---|
AbstractLZWDictionary() |
| Modifier and Type | Method and Description |
|---|---|
void |
addEntry(byte[] aByteSeq,
boolean bForEncode) |
int |
getNextFreeCode() |
void |
reset() |
protected static final org.slf4j.Logger s_aLogger
public static final int MAX_CODE
public static final int CODE_CLEARTABLE
public static final int CODE_EOF
protected byte[][] m_aTab
protected int m_nFreeCode
protected int m_nCodeBits
public void reset()
public final void addEntry(@Nonnull byte[] aByteSeq, boolean bForEncode)
@Nonnegative public final int getNextFreeCode()
Copyright © 2014–2016 Philip Helger. All rights reserved.