| Modifier and Type | Field and Description |
|---|---|
| private final byte[] | mtf
The Move To Front list. |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv byte | Returns: The value at the given indexThe index to move index)Gets the value from a given index and moves it to the front of the MTF list (inverse Move To Front transform). |
| pack-priv int | Returns: The position the value moved fromThe value to move value)Moves a value to the head of the MTF list (forward Move To Front transform). |
| mtf | back to summary |
|---|---|
| private final byte[] mtf The Move To Front list. | |
| Bzip2MoveToFrontTable | back to summary |
|---|---|
| pack-priv Bzip2MoveToFrontTable() | |
| indexToFront | back to summary |
|---|---|
| pack-priv byte indexToFront(final int index) Gets the value from a given index and moves it to the front of the MTF list (inverse Move To Front transform).
| |
| valueToFront | back to summary |
|---|---|
| pack-priv int valueToFront(final byte value) Moves a value to the head of the MTF list (forward Move To Front transform).
| |