Struct SwiftGenerationalBucket<T>.SwiftGenerationalBucketEnumerator
- Namespace
- SwiftCollections
- Assembly
- SwiftCollections.dll
Enumerates the elements of a SwiftGenerationalBucket<T> collection in a forward-only, read-only manner.
public struct SwiftGenerationalBucket<T>.SwiftGenerationalBucketEnumerator : IEnumerator<T>, IEnumerator, IDisposable
- Implements
-
IEnumerator<T>
- Inherited Members
Remarks
The enumerator is invalidated if the underlying collection is modified during enumeration. In such cases, subsequent calls to MoveNext will throw an InvalidOperationException. This enumerator is typically obtained by calling GetEnumerator on a SwiftGenerationalBucket<T> instance.
Properties
Current
public readonly T Current { get; }
Property Value
- T
Methods
Dispose()
public void Dispose()
MoveNext()
public bool MoveNext()
Returns
Reset()
public void Reset()