apollo.analysis.filter
Class HuffNode
java.lang.Object
apollo.analysis.filter.HuffNode
public class HuffNode
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
word
protected java.lang.String word
count
protected int count
parent
protected HuffNode parent
child_0
protected HuffNode child_0
child_1
protected HuffNode child_1
HuffNode
public HuffNode(java.lang.String word)
HuffNode
public HuffNode(HuffNode child_0,
HuffNode child_1)
getWord
public java.lang.String getWord()
addOccurance
public void addOccurance()
getOccurance
public int getOccurance()
setParent
public void setParent(HuffNode parent)
getParent
public HuffNode getParent()
getChild_0
public HuffNode getChild_0()
getChild_1
public HuffNode getChild_1()