Struct SwiftStack<T>.SwiftStackEnumerator
- Namespace
- SwiftCollections
- Assembly
- SwiftCollections.dll
Supports simple iteration over the elements of a SwiftStack<T> in last-in, first-out (LIFO) order.
public struct SwiftStack<T>.SwiftStackEnumerator : IEnumerator<T>, IEnumerator, IDisposable
- Implements
-
IEnumerator<T>
- Inherited Members
Remarks
The enumerator is invalidated if the collection is modified after the enumerator is created. This type is not thread-safe.
Properties
Current
public T Current { get; }
Property Value
- T
Methods
Dispose()
public void Dispose()
MoveNext()
public bool MoveNext()
Returns
Reset()
public void Reset()