protected Node(HashCollection <TKey, TValue, TWeight> container, TKey key, TValue value, int level = 0, bool isRoot = false) { Container = container; nodes = container.nodes; Key = key; Level = level; IsRoot = isRoot; container.nodes[key] = this; }
internal TreeNode(HashCollection <TKey, TValue, TWeight> container, TKey key, int level = 0, bool isRoot = false) : this(container, key, default, level, isRoot) { }
internal TreeNode(HashCollection <TKey, TValue, TWeight> container, TKey key, TValue value, int level = 0, bool isRoot = false) : base(container, key, value, level, isRoot) { }
protected HashCollectionEnumerator(HashCollection <TKey, TValue, TWeight> container, TKey startingPoint) { Container = container; StartingPoint = startingPoint; Reset(); }