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_logical_entry_at (specificmap, i, key, logical_val) |
Retrieves the entry at a specific map index or null if index > map elements. More... | |
logical function | hashmap_logical_entry_at (specificmap, i, key, logical_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 | Logical value or raises an error if none is found |
Definition at line 567 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 | Logical value or raises an error if none is found |
Definition at line 1620 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 | Logical value or raises an error if none is found |
Definition at line 979 of file collections.F90.