Class HuffmanTree


  • public class HuffmanTree
    extends Object
    This class describes a Huffman tree created from a code word table.
    • Constructor Detail

      • HuffmanTree

        public HuffmanTree​(int[] arHuffmanCodeWordTable)
                    throws HuffmanTree.PrefixException
        Creates a Huffman tree from code word table.
        Parameters:
        arHuffmanCodeWordTable - a code word table as given in FOVb data containing image data of data format 11 (see original documentation)
        Throws:
        HuffmanTree.PrefixException - if the given code word table is not prefix free