|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--sam.io.Node
|
+--sam.io.Huffman
|
+--sam.io.Huffman16
| Nested Class Summary |
| Nested classes inherited from class sam.io.Huffman |
Huffman.Leaf, Huffman.LeafInputStream, Huffman.LeafOutputStream |
| Constructor Summary | |
Huffman16()
Creates a new well-balanced Huffman tree. |
|
| Method Summary | |
java.io.InputStream |
input(java.io.InputStream delegee)
Stream for decoding 16 bits huffman-encoded data |
java.io.OutputStream |
output(java.io.OutputStream delegee)
Stream for encoding 16 bits huffman-encoded data |
| Methods inherited from class sam.io.Huffman |
get, isLeaf, longestPath, main, numberOfLeaves, numberOfNodes, ordered, ratio, reset, shortestPath, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public Huffman16()
| Method Detail |
public java.io.InputStream input(java.io.InputStream delegee)
input in class Huffmandelegee - the 16 bits stream to decode frompublic java.io.OutputStream output(java.io.OutputStream delegee)
output in class Huffmandelegee - the 16 bits stream to encode to
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||