OpenEdge.Core.Collections.HashMap
- Last Updated: January 15, 2026
- 5 minute read
- OpenEdge
- Version 12.8
- Documentation
|
Method Summary
| Options | Name | Purpose | |
|---|---|---|---|
| Clear () |
/* Removes all mappings from this map (optional operation). */
|
||
| LOGICAL ContainsAllKeys (ICollection) |
/* Returns true if this map contains all of the keys in a collection.
@param ICollection A collection of keys. Must be a valid object.
@return logical TRUE if all the keys in the input collection are in this map */
|
||
| LOGICAL ContainsAllValues (ICollection) |
/* Returns true if this map maps one or more keys to the specified value.
@param ICollection A collection of values
@return logical TRUE if all of the values in the source collection are values in the map's Values */
|
||
| LOGICAL ContainsKey (Object) |
/* Returns true if this map contains a mapping for the specified key.
@param Object The key for the map entry. Must be valid and of type P.L.Object
@return logical TRUE if the map contains an entry with the specified key; FALSE otherwise */
|
||
| LOGICAL ContainsValue (Object) |
/* Returns true if there's at least one value in the map that equals the input value.
@param Object The value to find. May be null/unknown.
@return logical TRUE if at least one value exists in the map; FALSE otherwise. */
|
||
| LOGICAL Equals (Object) |
/* Compares this Map to another object, confirming if both are IMap objects with identical mappings.
@param Object The other object to compare (if also an IMap)
@return logical True if the given object is also a map and the two Maps represent the same mappings. */
|
||
| Progress.Lang.Object Get (Object) |
/* Retrieves the value for a particular key
@param Object The key for the map entry. The value object must be valid and of type P.L.Object
@return Object The associated value, or unknown if the entry does not exist. If the value exists, it will be of type Progress.Lang.Object */
|
||
| LOGICAL IsEmpty () |
/* Returns true if this map contains no key-value mappings.
@return logical TRUE if the map has no entries; FALSE otherwise */
|
||
| Progress.Lang.Object Put (Object, Object) |
/* Adds a value and/or key to the map.
@param Object The key for the map entry. Must be a valid object, but may have an empty or unknown value. Is unique in the map.
@param Object The value for the key. May be a valid Object.
@return Object The previous value, or unknown if none. Unknown is a valid value too. */
|
||
| PutAll (IMap) |
/* Adds all entries from another map to this one (optional operation).
@param IMap A valid map */
|
||
| Progress.Lang.Object Remove (Object) |
/* Removes the map entry for a particular key
@param Object The key for the map entry. Must be a valid object.
@return Object The associated value, or unknown if there is no entry. */
|
||
| RemoveAll (ICollection) |
/* Removes the mappings for all key from this map if it is present (optional operation).
@param ICollection A collection of keys to remove */
|
Constructor Summary
| Options | Name | Purpose | |
|---|---|---|---|
| HashMap () |
/* Default constructor */
|
||
| HashMap (IMap) |
/* Constructor. Populates the map with the contents of another map.
@param IMap Contains entries to add to this map. Entries are just added to this map, and are not cloned/duplicated */
|
Property Summary
| Options | Name | Purpose | |
|---|---|---|---|
| OpenEdge.Core.Collections.ISet EntrySet |
|
||
| OpenEdge.Core.Collections.ISet KeySet |
|
||
| INTEGER Size |
|
||
| OpenEdge.Core.Collections.ICollection Values |
|
Method Detail
Clear ()
|
||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
LOGICAL ContainsAllKeys (ICollection)
|
||||||||||||||||||||
LOGICAL ContainsAllValues (ICollection)
|
||||||||||||||||||||
LOGICAL ContainsKey (Object)
|
||||||||||||||||||||
LOGICAL ContainsValue (Object)
|
||||||||||||||||||||
LOGICAL Equals (Object)
|
||||||||||||||||||||
Progress.Lang.Object Get (Object)
|
||||||||||||||||||||
LOGICAL IsEmpty ()
|
||||||||||||||||||||
Progress.Lang.Object Put (Object, Object)
|
||||||||||||||||||||
PutAll (IMap)
|
||||||||||||||||||||
Progress.Lang.Object Remove (Object)
|
||||||||||||||||||||
RemoveAll (ICollection)
|
||||||||||||||||||||
Constructor Detail
HashMap ()
|
||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
HashMap (IMap)
|
||||||||||||
Property Detail
OpenEdge.Core.Collections.ISet EntrySet
|
||||||||
|---|---|---|---|---|---|---|---|---|
OpenEdge.Core.Collections.ISet KeySet
|
||||||||
INTEGER Size
|
||||||||
OpenEdge.Core.Collections.ICollection Values |
||||||||