MCPcopy Create free account
hub / github.com/PrajaktaSathe/Java / HuffmanNode

Class HuffmanNode

Programs/HuffmanCoding.java:6–11  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4import java.util.Comparator;
5
6class HuffmanNode {
7 int item;
8 char c;
9 HuffmanNode left;
10 HuffmanNode right;
11}
12
13// For comparing the nodes
14class ImplementComparator implements Comparator<HuffmanNode> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected