MONC
|
Puts a logical key-value pair into the map. More...
Private Member Functions | |
subroutine | map_put_logical (specificmap, key, logical_data) |
Puts a specific key-value pair into the map. More... | |
subroutine | hashmap_put_logical (specificmap, key, logical_data) |
Puts a specific key-value pair into the hashmap. More... | |
Puts a logical key-value pair into the map.
If the key is not already held in the map then the key-value pair will be added, otherwise the existing key-value pair will be modified to hold this updated value (keys must be unique) This has a time complexity of O(n) due to key look up
collection | The specific map involved |
key | The key to place in the map |
value | Logical data value to place in the map |
Definition at line 357 of file collections.F90.
|
private |
Puts a specific key-value pair into the hashmap.
If the key is not already held in the hashmap then the key-value pair will be added, otherwise the existing key-value pair will be modified to hold this updated value (keys must be unique). This uses a hashing function for performance Do not call directly from external module, this is called via the appropriate interface
specificmap | The specific map involved |
key | The key to place in the map |
data | Logical data value to place in the map |
Definition at line 1344 of file collections.F90.
|
private |
Puts a specific key-value pair into the map.
If the key is not already held in the map then the key-value pair will be added, otherwise the existing key-value pair will be modified to hold this updated value (keys must be unique) Do not call directly from external module, this is called via the appropriate interface
specificmap | The specific map involved |
key | The key to place in the map |
data | Logical value to place in the map |
Definition at line 705 of file collections.F90.