Progress.Collections.HashMapIterator<K,V> class
- Last Updated: February 11, 2026
- 1 minute read
- OpenEdge
- Version 13.0
- Documentation
Represents the type of the object returned by the GetIterator() method in a
HashMap<K,V> object, allowing traversal of the elements in
the hash map. The elements are returned in no specific order.
The class is FINAL and cannot be extended.
Serializable:
No
Constructor(s)
The class constructor is reserved for system use only.
Super Class
Interfaces
Progress.Collections.IIterator<T> interface where T is
Progress.Collections.KeyValuePair<K,V>
Public Properties
| Current property (Iterator) | — |
Public Methods
| MoveNext( ) method (Iterator) | Reset( ) method (Iterator) |
Public Events
This class has no public events.
Notes
- The iterator is constructed with the generic information used to instantiate the
HashMapclass. For example, for aHashMap<Employee, Manager>object, the iterator is constructed asHashMapIterator<Employee, Manager>(). - An iterator instance becomes invalid when the associated
HashMapobject has elements added or removed after the givenHashMapIteratorobject is created. After that point, a new one can be acquired via theGetIterator()method. - The iterator traverses each of the key-value pair elements in the collection.
Note that the
Currentproperty will not resolve to an invalid reference (that is, the Unknown value (?)) as you cannot delete aKeyValuePair<K,V>object. The key-value pair object may have a reference to an unknown or invalid key or value object (if they got deleted).
See also
<T> Generic type reference, GetIterator( ) method (Collections), Progress.Collections.HashMap<K,V> class