org.web3d.vrml.export.compressors
Class HuffmanNode
java.lang.Object
org.web3d.vrml.export.compressors.HuffmanNode
- public class HuffmanNode
- extends java.lang.Object
Prototype Huffman node. Borrowed original impl from Sun HuffmanNode, need to decide
if copyright still stands for heavily modified code.
- Version:
- $Revision: 1.2 $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
tag
public int tag
tagLength
public int tagLength
frequency
protected int frequency
child0
protected HuffmanNode child0
child1
protected HuffmanNode child1
HuffmanNode
public HuffmanNode()
addCount
public void addCount()
writeData
public void writeData(BitPacker packer,
int len)
throws java.io.IOException
- Write the data for this node out to a stream.
- Parameters:
packer - The place to write the bitslen - The number of bits to use
- Throws:
java.io.IOException
toString
public java.lang.String toString()
Copyright © 2001 - 2005 Web3D Consortium