Struct NativeParallelMultiHashMap<TKey, TValue>.KeyValueEnumerator
An enumerator over the key-value pairs of a multi hash map.
Namespace: Unity.Collections
Assembly: solution.dll
Syntax
[NativeContainer]
[NativeContainerIsReadOnly]
public struct NativeParallelMultiHashMap<TKey, TValue>.KeyValueEnumerator
Remarks
A key with N values is visited by the enumerator N times.
In an enumerator's initial state, <xref href="Unity.Collections.NativeParallelMultiHashMap%602.KeyValueEnumerator.Current" data-throw-if-not-resolved="false"></xref> is not valid to read.
The first <xref href="Unity.Collections.NativeParallelMultiHashMap%602.KeyValueEnumerator.MoveNext" data-throw-if-not-resolved="false"></xref> call advances the enumerator to the first key-value pair.
Properties
Name | Description |
---|---|
Current | The current key-value pair. |
Methods
Name | Description |
---|---|
Dispose() | Does nothing. |
MoveNext() | Advances the enumerator to the next key-value pair. |
Reset() | Resets the enumerator to its initial state. |