com.github.junrar.unpack.ppm
Class State

java.lang.Object
  extended by com.github.junrar.unpack.ppm.Pointer
      extended by com.github.junrar.unpack.ppm.State

public class State
extends Pointer

DOCUMENT ME

Version:
$LastChangedRevision$
Author:
$LastChangedBy$

Field Summary
static int size
           
 
Fields inherited from class com.github.junrar.unpack.ppm.Pointer
mem, pos
 
Constructor Summary
State(byte[] mem)
           
 
Method Summary
 State decAddress()
           
 int getFreq()
           
 int getSuccessor()
           
 int getSymbol()
           
 State incAddress()
           
 void incFreq(int dFreq)
           
 State init(byte[] mem)
           
static void ppmdSwap(State ptr1, State ptr2)
           
 void setFreq(int freq)
           
 void setSuccessor(int successor)
           
 void setSuccessor(PPMContext successor)
           
 void setSymbol(int symbol)
           
 void setValues(State ptr)
           
 void setValues(StateRef state)
           
 String toString()
           
 
Methods inherited from class com.github.junrar.unpack.ppm.Pointer
getAddress, setAddress
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

size

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

State

public State(byte[] mem)
Method Detail

init

public State init(byte[] mem)

getSymbol

public int getSymbol()

setSymbol

public void setSymbol(int symbol)

getFreq

public int getFreq()

setFreq

public void setFreq(int freq)

incFreq

public void incFreq(int dFreq)

getSuccessor

public int getSuccessor()

setSuccessor

public void setSuccessor(PPMContext successor)

setSuccessor

public void setSuccessor(int successor)

setValues

public void setValues(StateRef state)

setValues

public void setValues(State ptr)

decAddress

public State decAddress()

incAddress

public State incAddress()

ppmdSwap

public static void ppmdSwap(State ptr1,
                            State ptr2)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2012. All Rights Reserved.