Package lzma.sdk.lzma
Class Encoder.LenPriceTableEncoder
- java.lang.Object
-
- lzma.sdk.lzma.Encoder.LenEncoder
-
- lzma.sdk.lzma.Encoder.LenPriceTableEncoder
-
- Enclosing class:
- Encoder
class Encoder.LenPriceTableEncoder extends Encoder.LenEncoder
-
-
Field Summary
Fields Modifier and Type Field Description (package private) int[]_counters(package private) int[]_prices(package private) int_tableSize-
Fields inherited from class lzma.sdk.lzma.Encoder.LenEncoder
_choice, _highCoder, _lowCoder, _midCoder
-
-
Constructor Summary
Constructors Constructor Description LenPriceTableEncoder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidencode(Encoder rangeEncoder, int symbol, int posState)intgetPrice(int symbol, int posState)voidsetTableSize(int tableSize)(package private) voidupdateTable(int posState)voidupdateTables(int numPosStates)-
Methods inherited from class lzma.sdk.lzma.Encoder.LenEncoder
init, setPrices
-
-
-
-
Method Detail
-
setTableSize
public void setTableSize(int tableSize)
-
getPrice
public int getPrice(int symbol, int posState)
-
updateTable
void updateTable(int posState)
-
updateTables
public void updateTables(int numPosStates)
-
encode
public void encode(Encoder rangeEncoder, int symbol, int posState) throws java.io.IOException
- Overrides:
encodein classEncoder.LenEncoder- Throws:
java.io.IOException
-
-