Discussion Board
Go to the previous messageGo to the following message
Current Forum: Homework 4 - Huffman Trees (Part 1)
Date: Thu Oct 11 2001 2:01 pm
Author: Ghosh, Debmallo S. <dsghosh@cmu.edu>
Subject: Re: HuffmanTree.java

It's technically a generic Java Object so that the Comparable interface is happy (it wants all Comparables to be comparable to each other). What you can do is cast it as a HuffmanTree or HuffmanCharFreq object so you can compare the frequencies and return an appropriate value.
Post response

Go to the previous messageGo to the following message
Current Thread Detail:
HuffmanTree.java      Jaiya, Aparna      Wed Oct 10 2001 6:16 pm       
Re: HuffmanTree.java      Ghosh, Debmallo S.      Thu Oct 11 2001 2:01 pm       
Re: HuffmanTree.java      Chen, Richard      Tue Oct 16 2001 4:13 am       

Back to previous screen