public class HuffTree implements Comparable {
int freq;
char c;
HuffTree left, right;
}
Since HuffTrees implement the Comparable interface, they can be inserted into a Heap. You can use your Heap implementation or mine, but you should not have to make any changes to Heap.java or Comparable.java--that's the nice thing about ADTs!
To debug your program you may want to use methods that print the contents of the tree. Keep in mind that you might not get exactly the same tree as in the book, but it should be similar in the sense that each letter should have the same code length as in the book, even if the code is not identical.