@@ -948,7 +948,7 @@ derived type `hashmap_type` is the parent type to its two
948
948
extensions: ` chaining_hashmap_type ` and ` open_hashmap_type ` .
949
949
The extension types provide
950
950
procedures to manipulate the structure of a hash map object:
951
- ` init ` , ` map_entry ` , ` rehash ` , ` remove_entry ` , and
951
+ ` init ` , ` map_entry ` , ` rehash ` , ` remove ` , and
952
952
` set_other_data ` . They also provide procedures to inquire about
953
953
entries in the hash map: ` get_other_data ` , and
954
954
` valid_key ` . Finally they provide procedures to inquire about the
@@ -1279,7 +1279,7 @@ Procedures to modify the content of a map:
1279
1279
* ` map % map_entry( key, other, conflict ) ` - Inserts an entry into the
1280
1280
hash map.
1281
1281
1282
- * ` map % remove_entry ( key, existed ) ` - Remove the entry, if any,
1282
+ * ` map % remove ( key, existed ) ` - Remove the entry, if any,
1283
1283
associated with the ` key ` .
1284
1284
1285
1285
* ` map % set_other_data( key, other, exists ) ` - Change the other data
@@ -1814,7 +1814,7 @@ It is the hash method to be used by `map`.
1814
1814
end program demo_rehash
1815
1815
```
1816
1816
1817
- #### ` remove_entry ` - removes an entry from the hash map
1817
+ #### ` remove ` - removes an entry from the hash map
1818
1818
1819
1819
##### Status
1820
1820
@@ -1826,7 +1826,7 @@ Removes an entry from the hash map, `map`.
1826
1826
1827
1827
##### Syntax
1828
1828
1829
- ` call [[stdlib_hashmaps:map%remove_entry ]]( key[, existed ]) `
1829
+ ` call [[stdlib_hashmaps:map%remove ]]( key[, existed ]) `
1830
1830
1831
1831
##### Class
1832
1832
@@ -1852,7 +1852,7 @@ removed and the map is unchanged.
1852
1852
##### Example
1853
1853
1854
1854
``` fortran
1855
- program demo_remove_entry
1855
+ program demo_remove
1856
1856
use stdlib_hashmaps, only: open_hashmap_type, int_index
1857
1857
use stdlib_hashmap_wrappers, only: fnv_1_hasher, &
1858
1858
fnv_1a_hasher, key_type, other_type
@@ -1866,9 +1866,9 @@ removed and the map is unchanged.
1866
1866
call set( key, [ 5_int8, 7_int8, 4_int8, 13_int8 ] )
1867
1867
call set( other, dummy )
1868
1868
call map % map_entry( key, other )
1869
- call map % remove_entry ( key, existed )
1869
+ call map % remove ( key, existed )
1870
1870
print *, "Removed key existed = ", existed
1871
- end program demo_remove_entry
1871
+ end program demo_remove
1872
1872
```
1873
1873
1874
1874
#### ` set_other_data ` - replaces the other dataa for an entry
0 commit comments