Package org.jpedal.jbig2.decoders
Class ArithmeticDecoderStats
java.lang.Object
org.jpedal.jbig2.decoders.ArithmeticDecoderStats
ArithmeticDecoderStats class.
-
Constructor Summary
ConstructorDescriptionArithmeticDecoderStats
(int contextSize) Constructor for ArithmeticDecoderStats. -
Method Summary
Modifier and TypeMethodDescriptioncopy()
copy.int
getContextCodingTableValue
(int index) getContextCodingTableValue.void
overwrite
(ArithmeticDecoderStats stats) overwrite.void
reset()
reset.void
setContextCodingTableValue
(int index, int value) setContextCodingTableValue.void
setEntry
(int codingContext, int i, int moreProbableSymbol) setEntry.
-
Constructor Details
-
ArithmeticDecoderStats
public ArithmeticDecoderStats(int contextSize) Constructor for ArithmeticDecoderStats.
- Parameters:
contextSize
- aInteger
object.
-
-
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
- aArithmeticDecoderStats
object.
-
copy
copy.
- Returns:
- a
ArithmeticDecoderStats
object.
-