Current Forum: Homework 4 - Huffman Trees (Part 1) |
Date: Sun Oct 7 2001 11:35 pm |
Author: Liu, Limin Angela <laliu@andrew.cmu.edu> |
Subject: Re: Huffman.java |
|
|
With compress(BitReader in, BitWriter out), you can pass in any objects that implement these interfaces, maybe your own SpecialReader or SpecialWriter. The compiler will keep track of the real class and find the right methods. Like C++ abstract classes. |
|