protected HuffmanNode(HuffmanNode aParent) { isFull = false; isSetValue = false; parent = aParent; if (parent != null) { depth = parent.GetDepth() + 1; } }
protected HuffmanNode(HuffmanNode aParent, int aValue) { parent = aParent; if (parent != null) { depth = parent.GetDepth() + 1; } value = aValue; isFull = true; isSetValue = true; }