摘要
Huffman编码作为一种高效的不等长编码技术正日益广泛地在文本、图像、视频压缩及通信、密码等领域得到应用。Java语言是一种目前比较流行的、面向对象的程序设计语言,文章就如何利用Java的优先队列结构建立Huffman编码树进行了探讨,并给出了编码与反编码程序。
As an efficient variable-length encoding technique, Huffman encoding is increasingly widely used in the fields such as the compression and communication of text, image and video, and cipher. Java is a relatively popular object-oriented programming language at present. We discuss how to construct Huffman encoding tree by using Java priority queue structure, and provide the programs of the encoding and decoding.
出处
《计算机时代》
2011年第1期28-29,32,共3页
Computer Era