NativeParallelMultiHashMap<TKey, TValue>.KeyValueEnumerator
An enumerator over the key-value pairs of a multi hash map.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Struct
- Namespace: Unity.Collections
- Assembly: UnityEngine.ManagedKernelModule
- Implements: IEnumerator<KeyValue<T, T>>, IEnumerator, IDisposable
public struct NativeParallelMultiHashMap<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, NativeParallelMultiHashMap<TKey, TValue>.KeyValueEnumerator.Current is not valid to read. The first NativeParallelMultiHashMap<TKey, TValue>.KeyValueEnumerator.MoveNext call advances the enumerator to the first key-value pair.
Properties
Property | Description |
|---|---|
| Current | The current key-value pair. |