Space Engineers
|
Simple thread-safe queue. Uses spin-lock More...
Public Member Functions | |
MyConcurrentDictionary (IEqualityComparer< TKey > comparer) | |
MyConcurrentDictionary (int capacity=0, IEqualityComparer< TKey > comparer=null) | |
TValue | ChangeKey (TKey oldKey, TKey newKey) |
void | Clear () |
void | Add (TKey key, TValue value) |
bool | TryAdd (TKey key, TValue value) |
bool | ContainsKey (TKey key) |
bool | ContainsValue (TValue value) |
bool | Remove (TKey key) |
bool | TryGetValue (TKey key, out TValue value) |
void | GetValues (List< TValue > result) |
TValue | GetValueOrDefault (TKey key, TValue defaultValue) |
KeyValuePair< TKey, TValue > | FirstPair () |
IEnumerator< KeyValuePair< TKey, TValue > > | GetEnumerator () |
Properties | |
int | Count [get] |
TValue | this[TKey key] [get, set] |
Simple thread-safe queue. Uses spin-lock
Definition at line 13 of file MyConcurrentDictionary.cs.
|
inline |
Definition at line 47 of file MyConcurrentDictionary.cs.
|
inline |
Definition at line 52 of file MyConcurrentDictionary.cs.
|
inline |
Definition at line 76 of file MyConcurrentDictionary.cs.
|
inline |
Definition at line 57 of file MyConcurrentDictionary.cs.
|
inline |
Definition at line 68 of file MyConcurrentDictionary.cs.
|
inline |
Definition at line 97 of file MyConcurrentDictionary.cs.
|
inline |
Definition at line 105 of file MyConcurrentDictionary.cs.
|
inline |
Definition at line 144 of file MyConcurrentDictionary.cs.
|
inline |
Definition at line 191 of file MyConcurrentDictionary.cs.
|
inline |
Definition at line 138 of file MyConcurrentDictionary.cs.
|
inline |
Definition at line 129 of file MyConcurrentDictionary.cs.
|
inline |
Definition at line 113 of file MyConcurrentDictionary.cs.
|
inline |
Definition at line 84 of file MyConcurrentDictionary.cs.
|
inline |
Definition at line 121 of file MyConcurrentDictionary.cs.
|
get |
Definition at line 19 of file MyConcurrentDictionary.cs.
|
getset |
Definition at line 30 of file MyConcurrentDictionary.cs.