class GotoTableCompressor
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private short[] |
m_base |
(package private) int |
m_baseAdd |
private short[] |
m_check |
private short[] |
m_default |
private java.util.Vector<short[]> |
m_dfa |
private java.util.Vector<short[]> |
m_dfaCopy |
private java.util.Map<java.lang.Integer,java.util.Vector<java.lang.Short>> |
m_fillMap |
private short[] |
m_next |
private boolean |
m_useStateDiff |
static short |
SHORT_MIN |
Constructor and Description |
---|
GotoTableCompressor(java.util.Vector<short[]> gotoTable) |
Modifier and Type | Method and Description |
---|---|
(package private) boolean |
canFill(int row,
int min,
int max,
int pos) |
private void |
cleanState(int thisState,
int cmpState) |
(package private) void |
compute(short[] base,
short[] next,
short[] check) |
(package private) void |
doFill(int row,
int min,
int max,
int pos) |
(package private) void |
doFillState(int row,
int min,
int max) |
(package private) void |
doFillStates() |
(package private) void |
doInsertState(short state,
short cmpState) |
(package private) short[] |
getBase() |
(package private) int |
getBaseAdd() |
(package private) int |
getBlockSize(short row,
int[] minMax) |
(package private) short[] |
getCheck() |
(package private) short[] |
getDefault() |
private int |
getErrorCount(int state) |
private int |
getHoleSize(short thisState,
int min,
int max) |
(package private) short[] |
getNext() |
private int |
getStateDiff(int thisState,
int cmpState) |
public static final short SHORT_MIN
private final java.util.Vector<short[]> m_dfa
private final java.util.Vector<short[]> m_dfaCopy
int m_baseAdd
private boolean m_useStateDiff
private short[] m_default
private short[] m_next
private short[] m_check
private short[] m_base
private java.util.Map<java.lang.Integer,java.util.Vector<java.lang.Short>> m_fillMap
public GotoTableCompressor(java.util.Vector<short[]> gotoTable)
private int getErrorCount(int state)
private int getStateDiff(int thisState, int cmpState)
private void cleanState(int thisState, int cmpState)
private int getHoleSize(short thisState, int min, int max)
int getBlockSize(short row, int[] minMax)
boolean canFill(int row, int min, int max, int pos)
void doFill(int row, int min, int max, int pos)
void doFillState(int row, int min, int max)
void doInsertState(short state, short cmpState)
void doFillStates()
void compute(short[] base, short[] next, short[] check)
short[] getNext()
short[] getCheck()
short[] getBase()
int getBaseAdd()
short[] getDefault()