public class HuffmanTree extends Object
Modifier and Type | Class and Description |
---|---|
class |
HuffmanTree.Node |
Constructor and Description |
---|
HuffmanTree() |
Modifier and Type | Method and Description |
---|---|
void |
addNode(int level,
int code) |
HuffmanTree.Node |
getHead() |
void |
printNode(HuffmanTree.Node node) |
void |
printTree() |
public HuffmanTree.Node getHead()
public void addNode(int level, int code)
public void printTree()
public void printNode(HuffmanTree.Node node)
Copyright © 2020. All rights reserved.