|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcommandline.flatFileToBinaryPackage.HuffMan.CodeRetriever
public class CodeRetriever
Class that retrieves Huffman codes from a list of bits
| Constructor Summary | |
|---|---|
CodeRetriever()
|
|
| Method Summary | |
|---|---|
static int |
getAndRemoveOriginal(java.util.ArrayList<java.lang.String> codelist,
java.util.ArrayList<java.lang.String> codewords)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CodeRetriever()
| Method Detail |
|---|
public static int getAndRemoveOriginal(java.util.ArrayList<java.lang.String> codelist,
java.util.ArrayList<java.lang.String> codewords)
throws NotEnoughBytesException
codelist - {0,1,0,1,1,1,1,1,0,0,0,1,0,0,1,0,1,0,1}codewords - {001,100111,1000,10,}
NotEnoughBytesException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||