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_real_entry_at (specificmap, i, key, real_val) |
Retrieves the entry at a specific map index or null if index > map elements. This converts precision and from ints. More... | |
logical function | hashmap_real_entry_at (specificmap, i, key, real_val) |
Retrieves the entry at a specific map index. This converts between precision and from int. 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 | Double precision real value or raises an error if none is found |
Definition at line 555 of file collections.F90.
|
private |
Retrieves the entry at a specific map index. This converts between precision and from int.
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 | Double precision realvalue or raises an error if none is found |
Definition at line 1594 of file collections.F90.
|
private |
Retrieves the entry at a specific map index or null if index > map elements. This converts precision and from ints.
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 | Real value or raises an error if none is found |
Definition at line 953 of file collections.F90.