Current Forum: Homework 4 - Huffman Trees (Part 1) |
Date: Tue Oct 16 2001 4:15 am |
Author: Chen, Richard <richardc@andrew.cmu.edu> |
Subject: Re: Compare To for Huffman Tree Building |
|
|
Check that: I redid my code to use HuffmanTree.java and indeed I needed a compareTo() method in HuffmanTree.java because to traverse it for the purpose of finding the bit representations of each different character in the uncompressed input file, you need to compare 2 HuffmanTree type objects. |
|