NativeParallelMultiHashMap<TKey, TValue>
struct in Unity.Collections · Unity.Collections
Not in Unity's public API, or in an assembly the coverage doesn't count.
In Tassix
A hash map with any number of values per key.
Constructors 1
NativeParallelMultiHashMap(int capacity, AllocatorManager.AllocatorHandle allocator)Properties 3
int Capacity { get; set; }readonly bool IsCreated { get; }readonly bool IsEmpty { get; }Methods 16
void Add(TKey key, TValue item)ParallelWriter AsParallelWriter()void Clear()bool ContainsKey(TKey key)readonly int Count()int CountValuesForKey(TKey key)KeyValueEnumerator GetEnumerator()NativeArray<TKey> GetKeyArray(AllocatorManager.AllocatorHandle allocator)NativeKeyValueArrays<TKey, TValue> GetKeyValueArrays(AllocatorManager.AllocatorHandle allocator)NativeArray<TValue> GetValueArray(AllocatorManager.AllocatorHandle allocator)Enumerator GetValuesForKey(TKey key)int Remove(TKey key)void Remove(NativeParallelMultiHashMapIterator<TKey> it)bool SetValue(TValue item, NativeParallelMultiHashMapIterator<TKey> it)bool TryGetFirstValue(TKey key, out TValue item, out NativeParallelMultiHashMapIterator<TKey> it)bool TryGetNextValue(out TValue item, ref NativeParallelMultiHashMapIterator<TKey> it)