com.github.junrar.unpack.ppm
Class RangeCoder

java.lang.Object
  extended by com.github.junrar.unpack.ppm.RangeCoder

public class RangeCoder
extends Object

DOCUMENT ME

Version:
$LastChangedRevision$
Author:
$LastChangedBy$

Nested Class Summary
static class RangeCoder.SubRange
           
 
Field Summary
static int BOT
           
static int TOP
           
 
Constructor Summary
RangeCoder()
           
 
Method Summary
 void ariDecNormalize()
           
 void decode()
           
 int getCurrentCount()
           
 long getCurrentShiftCount(int SHIFT)
           
 RangeCoder.SubRange getSubRange()
           
 void initDecoder(Unpack unpackRead)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TOP

public static final int TOP
See Also:
Constant Field Values

BOT

public static final int BOT
See Also:
Constant Field Values
Constructor Detail

RangeCoder

public RangeCoder()
Method Detail

getSubRange

public RangeCoder.SubRange getSubRange()

initDecoder

public void initDecoder(Unpack unpackRead)
                 throws IOException,
                        RarException
Throws:
IOException
RarException

getCurrentCount

public int getCurrentCount()

getCurrentShiftCount

public long getCurrentShiftCount(int SHIFT)

decode

public void decode()

ariDecNormalize

public void ariDecNormalize()
                     throws IOException,
                            RarException
Throws:
IOException
RarException

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2012. All Rights Reserved.