edu.berkeley.nlp.lm.bits
Class VariableLengthBitCompressor
java.lang.Object
edu.berkeley.nlp.lm.bits.VariableLengthBitCompressor
- All Implemented Interfaces:
- Serializable
public final class VariableLengthBitCompressor
- extends Object
- implements Serializable
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VariableLengthBitCompressor
public VariableLengthBitCompressor(int radix)
compress
public BitList compress(long n)
decompress
public long decompress(BitStream bits)