Package de.jarnbjo.util.io
Class HuffmanNode
java.lang.Object
de.jarnbjo.util.io.HuffmanNode
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprotected
HuffmanNode
(HuffmanNode huffmanNode) protected
HuffmanNode
(HuffmanNode huffmanNode, int int1) -
Method Summary
Modifier and TypeMethodDescriptionprotected HuffmanNode
get0()
protected HuffmanNode
get1()
protected int
getDepth()
protected Integer
getValue()
protected int
read
(BitInputStream bitInputStream) boolean
setNewValue
(int int1, int int2)
-
Field Details
-
o0
-
o1
-
value
-
-
Constructor Details
-
HuffmanNode
public HuffmanNode() -
HuffmanNode
-
HuffmanNode
-
-
Method Details
-
read
- Throws:
IOException
-
get0
-
get1
-
getValue
-
getDepth
protected int getDepth() -
setNewValue
public boolean setNewValue(int int1, int int2)
-