MONC
|
Retrieves a map entry at a specific index. This is more efficient than calling key at and then value at (or get with the key) as only requires one search for both the key and value. More...
Private Member Functions | |
logical function | map_string_entry_at (specificmap, i, key, str_val) |
Retrieves the entry at a specific map index or null if index > map elements. More... | |
logical function | hashmap_string_entry_at (specificmap, i, key, str_val) |
Retrieves the entry at a specific map index. More... | |
Retrieves a map entry at a specific index. This is more efficient than calling key at and then value at (or get with the key) as only requires one search for both the key and value.
This has a time complexity of O(n)
collection | The specific map involved |
index | The index to get value from |
key | The associated key |
value | String value or raises an error if none is found |
Definition at line 543 of file collections.F90.
|
private |
Retrieves the entry at a specific map index.
Do not call directly from external module, this is called via the appropriate interface
specificmap | The specific map involved |
i | Index to get value from |
key | The associated key |
value | String value or raises an error if none is found |
Definition at line 1573 of file collections.F90.
|
private |
Retrieves the entry at a specific map index or null if index > map elements.
Do not call directly from external module, this is called via the appropriate interface
specificmap | The specific map involved |
i | Index to get value from |
key | The associated key |
value | String value or raises an error if none is found |
Definition at line 932 of file collections.F90.