Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Creates a new iterator for a set.
Syntax
public void new(Set set)
Run On
Called
Parameters
- set
Type: Set Class
The set to iterate over.
Remarks
The iterator is positioned at the first value in the set, if the set is not empty.
Examples
The following example creates a set of integers and then creates an iterator for that set
Set s1 = new Set (Types::Integer);
SetIterator it;
it = new SetIterator(s1);