TStack<T>.TEnumerator Class

Represents type TEnumerator.

Namespace: Spring.Collections.Stacks
TInterfacedObject
  Spring.Collections.Base.TEnumeratorBase
    Spring.Collections.Base.TEnumeratorBase<T>
      Spring.Collections.Stacks.TStack<T>.TEnumerator
private
type
 TEnumerator = class(TEnumeratorBase<T>)
 end;

The TStack<T>.TEnumerator type exposes the following members.

Show:
 NameDescription
Create(TStack<T>)

Initializes a new instance of the TStack<T>.TEnumerator class.

Destroy

Represents the destructor of the TStack<T>.TEnumerator class.

Top
Show:
 NameDescription
Current

Represents property Current. (Inherited from TEnumeratorBase<T>.)

Top
Show:
 NameDescription
GetCurrent

Represents method GetCurrent. (Overrides TEnumeratorBase<T>.GetCurrent.)

MoveNext

Advances the enumerator to the next element of the collection. (Overrides TEnumeratorBase.MoveNext.)

Reset

Sets the enumerator to its initial position, which is before the first element in the collection. (Overrides TEnumeratorBase.Reset.)

Top
Show:
 NameDescription
fCurrent

Represents field fCurrent.

fIndex

Represents field fIndex.

fStack

Represents field fStack.

fVersion

Represents field fVersion.

Top