|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.h2.dev.util.BinaryArithmeticStream.Huffman
public static class BinaryArithmeticStream.Huffman
A Huffman code table / tree.
| Constructor Summary | |
|---|---|
BinaryArithmeticStream.Huffman(int[] frequencies)
|
|
| Method Summary | |
|---|---|
int |
read(BinaryArithmeticStream.In in)
Read a value. |
void |
write(BinaryArithmeticStream.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 BinaryArithmeticStream.Huffman(int[] frequencies)
| Method Detail |
|---|
public void write(BinaryArithmeticStream.Out out,
int value)
throws java.io.IOException
out - the output streamvalue - the value to write
java.io.IOException
public int read(BinaryArithmeticStream.In in)
throws java.io.IOException
in - the input stream
java.io.IOException
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||