Table of Contents

Struct SwiftSparseMap<T>.SwiftSparseMapEnumerator

Namespace
SwiftCollections
Assembly
SwiftCollections.dll

Supports iteration over the key/value pairs in a SwiftSparseMap<T> collection.

public struct SwiftSparseMap<T>.SwiftSparseMapEnumerator : IEnumerator<KeyValuePair<int, T>>, IEnumerator, IDisposable
Implements
Inherited Members

Remarks

The enumerator provides a forward-only, read-only traversal of the collection. It is invalidated if the underlying collection is modified during enumeration, and any such modification will cause subsequent operations to throw an InvalidOperationException.

Properties

Current

public readonly KeyValuePair<int, T> Current { get; }

Property Value

KeyValuePair<int, T>

Methods

Dispose()

public void Dispose()

MoveNext()

public bool MoveNext()

Returns

bool

Reset()

public void Reset()