Returns an instance of an iterator that iterates over elements in the collection.

Return type: Progress.Collections.IIterator<T>

Return type (for HashMap): Progress.Collections.IIterator<Progress.Collections.KeyValuePair<K,V>>

Access: PUBLIC

Applies to: Progress.Collections.List<T> class, Progress.Collections.SortedSet<T> class, Progress.Collections.HashMap<K,V> class, Progress.Collections.KeySet<K> class

Syntax

GetIterator( )

Example

For a code example showing GetIterator() for a list, see Progress.Collections.IIterator<T> interface.

For an code example showing GetIterator() for a sorted set, see Progress.Collections.SortedSet<T> class.

For an code example showing GetIterator() for a hash map, see Progress.Collections.HashMap<K,V> class.

See also

<T> Generic type reference