Enhanced C#
Language of your choice: library documentation
|
A dictionary with weak keys. More...
A dictionary with weak keys.
Source: datavault project. License: Apache License 2.0
TKey | : | class |
Properties | |
override int | Count [get] |
Properties inherited from Loyc.Collections.Impl.BaseDictionary< TKey, TValue > | |
abstract int | Count [get] |
bool | IsReadOnly [get] |
ICollection< TKey > | Keys [get] |
ICollection< TValue > | Values [get] |
TValue | this[TKey key] [get, set] |
Public Member Functions | |
WeakKeyDictionary (int capacity) | |
WeakKeyDictionary (IEqualityComparer< TKey > comparer) | |
WeakKeyDictionary (int capacity, IEqualityComparer< TKey > comparer) | |
override void | Add (TKey key, TValue value) |
override bool | ContainsKey (TKey key) |
override bool | Remove (TKey key) |
override bool | TryGetValue (TKey key, out TValue value) |
override void | Clear () |
override IEnumerator < KeyValuePair< TKey, TValue > > | GetEnumerator () |
void | RemoveCollectedEntries () |
Public Member Functions inherited from Loyc.Collections.Impl.BaseDictionary< TKey, TValue > | |
void | Add (KeyValuePair< TKey, TValue > item) |
bool | Contains (KeyValuePair< TKey, TValue > item) |
void | CopyTo (KeyValuePair< TKey, TValue >[] array, int arrayIndex) |
bool | Remove (KeyValuePair< TKey, TValue > item) |
Protected Member Functions | |
override void | SetValue (TKey key, TValue value) |