MONC
|
Puts a string key-value pair into the map. More...
Private Member Functions | |
subroutine | map_put_string (specificmap, key, str_data) |
Puts a specific key-value pair into the map. More... | |
subroutine | hashmap_put_string (specificmap, key, str_data) |
Puts a specific key-value pair into the hashmap. More... | |
Puts a string 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 | String data value to place in the map |
Definition at line 331 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 | String data value to place in the map |
Definition at line 1303 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 | String value to place in the map |
Definition at line 664 of file collections.F90.