public class HuffmanTree.Node extends Object
Constructor and Description |
---|
Node() |
Modifier and Type | Method and Description |
---|---|
void |
addOne(HuffmanTree.Node newNode) |
void |
addZero(HuffmanTree.Node newNode) |
HuffmanTree.Node |
one() |
String |
pathToMe()
Returns the path to a node in binary, ex.
|
void |
setValue(int value) |
String |
toString() |
HuffmanTree.Node |
zero() |
public void addZero(HuffmanTree.Node newNode)
public void addOne(HuffmanTree.Node newNode)
public void setValue(int value)
public HuffmanTree.Node zero()
public HuffmanTree.Node one()
public String pathToMe()
Copyright © 2020. All rights reserved.