Package org.jpedal.jbig2.decoders
Class ArithmeticDecoderStats
java.lang.Object
org.jpedal.jbig2.decoders.ArithmeticDecoderStats
ArithmeticDecoderStats class.
-
Constructor Summary
ConstructorsConstructorDescriptionArithmeticDecoderStats(int contextSize) Constructor for ArithmeticDecoderStats. -
Method Summary
Modifier and TypeMethodDescriptioncopy()copy.intgetContextCodingTableValue(int index) getContextCodingTableValue.voidoverwrite(ArithmeticDecoderStats stats) overwrite.voidreset()reset.voidsetContextCodingTableValue(int index, int value) setContextCodingTableValue.voidsetEntry(int codingContext, int i, int moreProbableSymbol) setEntry.
-
Constructor Details
-
ArithmeticDecoderStats
public ArithmeticDecoderStats(int contextSize) Constructor for ArithmeticDecoderStats.
- Parameters:
contextSize- aIntegerobject.
-
-
Method Details
-
reset
public void reset()reset.
-
setEntry
public void setEntry(int codingContext, int i, int moreProbableSymbol) setEntry.
-
getContextCodingTableValue
public int getContextCodingTableValue(int index) getContextCodingTableValue.
-
setContextCodingTableValue
public void setContextCodingTableValue(int index, int value) setContextCodingTableValue.
-
overwrite
overwrite.
- Parameters:
stats- aArithmeticDecoderStatsobject.
-
copy
copy.
- Returns:
- a
ArithmeticDecoderStatsobject.
-