Represents the type of the object returned by the GetIterator() method on a SortedSet<T> class, allowing the traversal of elements in the sorted set. The elements are returned in the order defined by the comparer implementation used by the sorted set.

This class is FINAL and cannot be extended.

Serializable:

No

Constructor(s)

The class constructor is reserved for system use only.

Super Class

Progress.Lang.Object class

Interfaces

Progress.Collections.IIterator<T> interface

Public Properties

Current property (Iterator)

Public Methods

MoveNext( ) method (Iterator) Reset( ) method (Iterator)

Public Events

This class does not contain events.

Notes

  • The iterator is constructed with the generic information used to instantiate the SortedSet. For example, for a SortedSet<Person> object, the iterator is constructed as SortedSetIterator<Person>().
  • An iterator instance becomes invalid when the associated SortedSet<T> object has elements added or removed after the given SortedSetIterator<T> object is created, as the elements are no longer in the exact original location they occupied when the iterator was created. A new one must be acquired via the GetIterator() method.
  • The iterator does not skip elements whose value is unknown, or an invalid object reference. Iteration traverses each of the unknown and invalid elements in the set as if they were legitimate entries in the set. If an invalid object reference (a deleted object reference) is encountered, then the iterator sets the Current property to the unknown value (?).

See also

<T> Generic type reference