Skip to content

Commit b083fc7

Browse files
committed
replaced "presented" with "contained"
1 parent 92ff31f commit b083fc7

File tree

4 files changed

+15
-15
lines changed

4 files changed

+15
-15
lines changed

doc/specs/stdlib_hashmaps.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -893,7 +893,7 @@ It also defines five non-overridable procedures:
893893

894894
and ten deferred procedures:
895895

896-
* `get_all_keys` - gets all the keys presented in a map;
896+
* `get_all_keys` - gets all the keys contained in a map;
897897

898898
* `get_other_data` - gets the other map data associated with the key;
899899

@@ -1155,7 +1155,7 @@ Procedures to modify the content of a map:
11551155
Procedures to report the content of a map:
11561156

11571157
* `map % get_all_keys( all_keys )` - Returns all the keys
1158-
presented in the map;
1158+
contained in the map;
11591159

11601160
* `map % get_other_data( key, other, exists )` - Returns the other data
11611161
associated with the `key`;
@@ -1260,15 +1260,15 @@ The result will be the number of entries in the hash map.
12601260
```
12611261

12621262

1263-
#### `get_all_keys` - Returns all the keys presented in a map
1263+
#### `get_all_keys` - Returns all the keys contained in a map
12641264

12651265
##### Status
12661266

12671267
Experimental
12681268

12691269
##### Description
12701270

1271-
Returns all the keys presented in a map.
1271+
Returns all the keys contained in a map.
12721272

12731273
##### Syntax
12741274

src/stdlib_hashmap_chaining.f90

+2-2
Original file line numberDiff line numberDiff line change
@@ -287,10 +287,10 @@ end subroutine free_map_entry_pool
287287
module subroutine get_all_chaining_keys(map, all_keys)
288288
!! Version: Experimental
289289
!!
290-
!! Returns all the keys presented in a hash map
290+
!! Returns all the keys contained in a hash map
291291
!! Arguments:
292292
!! map - a chaining hash map
293-
!! all_keys - all the keys presented in a hash map
293+
!! all_keys - all the keys contained in a hash map
294294
!
295295
class(chaining_hashmap_type), intent(in) :: map
296296
type(key_type), allocatable, intent(out) :: all_keys(:)

src/stdlib_hashmap_open.f90

+2-2
Original file line numberDiff line numberDiff line change
@@ -257,10 +257,10 @@ end subroutine free_open_map
257257
module subroutine get_all_open_keys(map, all_keys)
258258
!! Version: Experimental
259259
!!
260-
!! Returns all the keys presented in a hash map
260+
!! Returns all the keys contained in a hash map
261261
!! Arguments:
262262
!! map - an open hash map
263-
!! all_keys - all the keys presented in a hash map
263+
!! all_keys - all the keys contained in a hash map
264264
!
265265
class(open_hashmap_type), intent(in) :: map
266266
type(key_type), allocatable, intent(out) :: all_keys(:)

src/stdlib_hashmaps.f90

+7-7
Original file line numberDiff line numberDiff line change
@@ -113,12 +113,12 @@ module stdlib_hashmaps
113113
subroutine get_all_keys(map, all_keys)
114114
!! Version: Experimental
115115
!!
116-
!! Returns the all keys presented in a hash map
117-
!! ([Specifications](../page/specs/stdlib_hashmaps.html#get_all_keys-returns-all-the-keys-presented-in-a-map))
116+
!! Returns the all keys contained in a hash map
117+
!! ([Specifications](../page/specs/stdlib_hashmaps.html#get_all_keys-returns-all-the-keys-contained-in-a-map))
118118
!!
119119
!! Arguments:
120120
!! map - a hash map
121-
!! all_keys - all the keys presented in a hash map
121+
!! all_keys - all the keys contained in a hash map
122122
!
123123
import hashmap_type, key_type
124124
class(hashmap_type), intent(in) :: map
@@ -365,10 +365,10 @@ end subroutine free_chaining_map
365365
module subroutine get_all_chaining_keys(map, all_keys)
366366
!! Version: Experimental
367367
!!
368-
!! Returns all the keys presented in a hashmap
368+
!! Returns all the keys contained in a hashmap
369369
!! Arguments:
370370
!! map - an chaining hash map
371-
!! all_keys - all the keys presented in a hash map
371+
!! all_keys - all the keys contained in a hash map
372372
!
373373
class(chaining_hashmap_type), intent(in) :: map
374374
type(key_type), allocatable, intent(out) :: all_keys(:)
@@ -615,10 +615,10 @@ end subroutine free_open_map
615615
module subroutine get_all_open_keys(map, all_keys)
616616
!! Version: Experimental
617617
!!
618-
!! Returns all the keys presented in a hashmap
618+
!! Returns all the keys contained in a hashmap
619619
!! Arguments:
620620
!! map - an open hash map
621-
!! all_keys - all the keys presented in a hash map
621+
!! all_keys - all the keys contained in a hash map
622622
!
623623
class(open_hashmap_type), intent(in) :: map
624624
type(key_type), allocatable, intent(out) :: all_keys(:)

0 commit comments

Comments
 (0)