Exemplo n.º 1
0
 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;
 }
Exemplo n.º 2
0
 internal TreeNode(HashCollection <TKey, TValue, TWeight> container, TKey key, int level = 0, bool isRoot = false) : this(container, key, default, level, isRoot)
 {
 }
Exemplo n.º 3
0
 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();
 }