Beef Corlib
Classes | Public Member Functions | Protected Member Functions | Properties | List of all members
System.Collections.Dictionary< TKey, TValue > Class Template Reference
Inheritance diagram for System.Collections.Dictionary< TKey, TValue >:
System.Collections.ICollection<(TKey key, TValue value)> System.Collections.IEnumerable<(TKey key, TValue value)> System.Collections.IRefEnumerable<(TKey key, TValue *valueRef)>

Classes

struct  AddResult
 
struct  Enumerator
 
struct  KeyEnumerator
 
struct  ValueEnumerator
 

Public Member Functions

 Dictionary (int_cosize capacity)
 
 Dictionary (IEnumerator< KeyValuePair > enumerator)
 
void Add (TKey key, TValue value)
 
void Add (KeyValuePair kvPair)
 
bool TryAdd (TKey key, TValue value)
 
bool TryAdd (TKey key, out TKey *keyPtr, out TValue *valuePtr)
 
bool TryAddAlt< TAltKey > (TAltKey key, out TKey *keyPtr, out TValue *valuePtr)
 
AddResult TryAdd (TKey key)
 
Result< TValue > GetValue (TKey key)
 
void Clear ()
 
bool ContainsKey (TKey key)
 
bool ContainsKeyAlt< TAltKey > (TAltKey key)
 
bool ContainsValue (TValue value)
 
bool Contains (KeyValuePair kvPair)
 
bool ContainsAlt< TAltKey > ((TAltKey key, TValue value) kvPair)
 
void CopyTo (Span< KeyValuePair > kvPair)
 
Enumerator GetEnumerator ()
 
bool CheckEq (TKey key, TKey key2)
 
bool Remove (TKey key)
 
bool RemoveAlt< TAltKey > (TAltKey key)
 
bool Remove (KeyValuePair kvPair)
 
Result<(TKey key, TValue value)> GetAndRemove (TKey key)
 
Result<(TKey key, TValue value)> GetAndRemoveAlt< TAltKey > (TAltKey key)
 
bool TryGetValue (TKey key, out TValue value)
 
bool TryGetValueAlt< TAltKey > (TAltKey key, out TValue value)
 
bool TryGet (TKey key, out TKey matchKey, out TValue value)
 
bool TryGetRef (TKey key, out TKey *matchKey, out TValue *value)
 
bool TryGetAlt< TAltKey > (TAltKey key, out TKey matchKey, out TValue value)
 
bool TryGetRefAlt< TAltKey > (TAltKey key, out TKey *matchKey, out TValue *value)
 
TValue GetValueOrDefault (TKey key)
 
- Public Member Functions inherited from System.Collections.ICollection<(TKey key, TValue value)>
void Add (T item)
 
void Clear ()
 
bool Contains (T item)
 
void CopyTo (Span< T > span)
 
bool Remove (T item)
 
- Public Member Functions inherited from System.Collections.IEnumerable<(TKey key, TValue value)>
concrete IEnumerator< T > GetEnumerator ()
 
- Public Member Functions inherited from System.Collections.IRefEnumerable<(TKey key, TValue *valueRef)>
concrete IRefEnumerator< T > GetEnumerator ()
 

Protected Member Functions

virtual Entry int_cosize * Alloc (int size)
 
virtual void Free (Entry *entryPtr)
 
override void GCMarkMembers ()
 

Properties

int Count [get]
 
bool IsEmpty [get]
 
ValueEnumerator Values [get]
 
KeyEnumerator Keys [get]
 
ref TValue this[TKey key] [get, set]
 
- Properties inherited from System.Collections.ICollection<(TKey key, TValue value)>
abstract int Count [get]