|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.h2.dev.util.BitStream.Huffman
public static class BitStream.Huffman
A Huffman code.
| Constructor Summary | |
|---|---|
BitStream.Huffman(int[] frequencies)
|
|
| Method Summary | |
|---|---|
int |
read(BitStream.In in)
Read a value. |
void |
write(BitStream.Out out,
int value)
Write a value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BitStream.Huffman(int[] frequencies)
| Method Detail |
|---|
public void write(BitStream.Out out,
int value)
out - the output streamvalue - the value to writepublic int read(BitStream.In in)
in - the input stream
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||