Package de.jarnbjo.util.io
Class HuffmanNode
java.lang.Object
de.jarnbjo.util.io.HuffmanNode
public final class HuffmanNode
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description protected HuffmanNode
o0
protected HuffmanNode
o1
protected java.lang.Integer
value
-
Constructor Summary
Constructors Modifier Constructor Description HuffmanNode()
protected
HuffmanNode(HuffmanNode huffmanNode)
protected
HuffmanNode(HuffmanNode huffmanNode, int int1)
-
Method Summary
Modifier and Type Method Description protected HuffmanNode
get0()
protected HuffmanNode
get1()
protected int
getDepth()
protected java.lang.Integer
getValue()
protected int
read(BitInputStream bitInputStream)
boolean
setNewValue(int int1, int int2)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
o0
-
o1
-
value
protected java.lang.Integer value
-
-
Constructor Details
-
HuffmanNode
public HuffmanNode() -
HuffmanNode
-
HuffmanNode
-
-
Method Details
-
read
- Throws:
java.io.IOException
-
get0
-
get1
-
getValue
protected java.lang.Integer getValue() -
getDepth
protected int getDepth() -
setNewValue
public boolean setNewValue(int int1, int int2)
-