| 12 | |
| 13 | // For comparing the nodes |
| 14 | class ImplementComparator implements Comparator<HuffmanNode> { |
| 15 | public int compare(HuffmanNode x, HuffmanNode y) { |
| 16 | return x.item - y.item; |
| 17 | } |
| 18 | } |
| 19 | |
| 20 | // Implementing the huffman algorithm |
| 21 | public class Huffman { |
nothing calls this directly
no outgoing calls
no test coverage detected