Integer based hash table.
More...
|
procedure, pass(this) | init (this, size, data) |
| Initialize an integer based hash table.
|
|
procedure, pass(this) | set (this, key, data) |
| Insert an integer into the hash table.
|
|
procedure, pass(this) | get (this, key, data) |
| Retrive an integer with key key from the hash table.
|
|
procedure, pass(this) | hash (this, k, c) |
| Hash function for an integer based hash table.
|
|
procedure, pass(this) | remove (this, key) |
| Remove an integer with key key from the hash table.
|
|
procedure(htable_hash), deferred, pass | hash (this, k, c) |
|
procedure, pass(this), public | clear (this) |
| Clear all entries in a hash table.
|
|
procedure, pass(this), public | free (this) |
| Destroy a hash table.
|
|
procedure, pass(this), public | num_entries (this) |
| Return number of entries in the table.
|
|
procedure, pass(this), public | get_size (this) |
| Return total size of htable.
|
|
Definition at line 82 of file htable.f90.
◆ clear()
◆ free()
◆ get()
- Parameters
-
[in,out] | key | Key to retrieve |
[in,out] | data | Retrieved data |
Definition at line 86 of file htable.f90.
◆ get_size()
◆ hash() [1/2]
◆ hash() [2/2]
◆ init()
- Parameters
-
| size | Initial size of the table |
[in,out] | data | Data to associate with key |
Definition at line 84 of file htable.f90.
◆ num_entries()
◆ remove()
◆ set()
- Parameters
-
[in,out] | key | Table key |
[in,out] | data | Data associated with key |
Definition at line 85 of file htable.f90.
◆ entries
◆ size
The documentation for this type was generated from the following file: