UnsafeParallelMultiHashMap<TKey, TValue>.KeyValueEnumerator
An enumerator over the key-value pairs of a multi hash map.
Read time 1 minuteLast updated 14 days ago
Definition
- Type: Struct
- Namespace: Unity.Collections.LowLevel.Unsafe
- Assembly: UnityEngine.ManagedKernelModule
- Implements: IEnumerator<KeyValue<T, T>>, IEnumerator, IDisposable
public struct UnsafeParallelMultiHashMap<TKey, TValue>.KeyValueEnumerator : IEnumerator<KeyValue<TKey, TValue>>, IEnumerator, IDisposable
Remarks
A key with "N" values is visited by the enumerator "N" times.
In an enumerator's initial state, UnsafeParallelMultiHashMap<TKey, TValue>.KeyValueEnumerator.Current is not valid to read. The first UnsafeParallelMultiHashMap<TKey, TValue>.KeyValueEnumerator.MoveNext call advances the enumerator to the first key-value pair.
Properties
Property | Description |
|---|---|
| Current | The current key-value pair. |