Development · Native API migration preview · Coverage validation in progress Published release →

API Browser

Method

GetIterator

func GetIterator() -> Iterator<T>

Declaring type: ArrayList<T>
Module: System.Collections
Assembly: System.Runtime.dll
Source file: ArrayList.rvn

Implements Iterable<T>.GetIterator

Creates an iterator over the current sequence.

Return value

Iterator<T>

Remarks

Captures the original buffer and element count. Later changes in that buffer are visible, but appended elements are not included; growth can move the list to a different buffer. This is not a fail-fast mutation detector.