Progress.Collections.KeySet<K> class
- Last Updated: March 15, 2024
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
This class is used by the Keys property of Progress.Collections.HashMap<K,V> class to return a set containing all the keys in the
HashMap instance. This set is backed by the
HashMap and is not a static copy of the keys in the map at the
time the property is accessed. This means that any changes to the
HashMap are reflected in the KeySet
instance.
KeySet does not allow operations that change the set. You can only access the
keys in the set. The KeySet object is garbage collected when there
are no more references to it.
The class is FINAL and cannot be extended.
Serializable:
No
Constructor(s)
This class does not contain a constructor.
Super Class
Interfaces
Public Properties
| Count property (Collections) | IsEmpty property (Collections) |
Public Methods
| Contains( ) method (Collections) | Get( ) method (Set Collections) |
| GetIterator( ) method (Collections) | — |
Public Events
This class does not contain events.
Notes
- The
Add(),AddAll(),Clear()andRemove()methods are not permitted with this class and raise an error if called.