edu.berkeley.nlp.lm.bits
Class VariableLengthBitCompressor

java.lang.Object
  extended by edu.berkeley.nlp.lm.bits.VariableLengthBitCompressor
All Implemented Interfaces:
Serializable

public final class VariableLengthBitCompressor
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
VariableLengthBitCompressor(int radix)
           
 
Method Summary
 BitList compress(long n)
           
 long decompress(BitStream bits)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VariableLengthBitCompressor

public VariableLengthBitCompressor(int radix)
Method Detail

compress

public BitList compress(long n)

decompress

public long decompress(BitStream bits)