Replacement for Dictionary<K,V> which does not allocate memory during usage. More...
Classes | |
struct | KeyIterator |
struct | PairIterator |
struct | ValueIterator |
Public Member Functions | |
NonAllocDictionary (uint capacity=29) | |
bool | ContainsKey (K key) |
bool | TryGetValue (K key, out V val) |
void | Set (K key, V val) |
void | Add (K key, V val) |
bool | Remove (K key) |
PairIterator | GetEnumerator () |
void | Clear () |
Properties | |
KeyIterator | Keys [get] |
ValueIterator | Values [get] |
int | Count [get] |
uint | Capacity [get] |
V | this[K key] [get, set] |
Replacement for Dictionary<K,V> which does not allocate memory during usage.
K | Key type. |
V | Value type. |
K | : | IEquatable<K> |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
get |
|
get |
|
get |
|
getset |
|
get |