public Key <W1, S> Set(Stacktype <W1, S> h, KeyComparer <W1, S> comparer) { bool isWeak = IsWeak; _values.SetValue(h.Item1, isWeak); _strongValue = h.Item2; _hash = comparer.CalculateHashCode(this); return(this); }
public InternalWeakDictionary(KeyComparer <TStrongKey> keyComparer) : base(keyComparer) { _comparer = keyComparer; }
public InternalWeakDictionary(int concurrencyLevel, int capacity, KeyComparer <TStrongKey> keyComparer) : base(concurrencyLevel, capacity, keyComparer) { _comparer = keyComparer; }
public Key <W1, S> Set(Tuple <W1, S> t, KeyComparer <W1, S> comparer) { return(Set(t.AsStacktype(), comparer)); }
public InternalWeakDictionary(KeyComparer <TWeakKey1, TWeakKey2, TWeakKey3, TWeakKey4, TStrongKey> keyComparer) : base(keyComparer) { _comparer = keyComparer; MaintenanceWorker.Register(this); }
public InternalWeakDictionary(int concurrencyLevel, int capacity, KeyComparer <TWeakKey1, TWeakKey2, TWeakKey3, TWeakKey4, TStrongKey> keyComparer) : base(concurrencyLevel, capacity, keyComparer) { _comparer = keyComparer; MaintenanceWorker.Register(this); }