MODFLOW 6 version 6.9.0.dev0
USGS Modular Hydrologic Model
Loading...
Searching...
No Matches
PtrHashTable.f90 File Reference

Go to the source code of this file.

Data Types

type  ptrhashtablemodule::ptrhashtabletype
 HashTable that stores void pointer items. More...

Modules

module  ptrhashtablemodule

Functions/Subroutines

class(iteratortype) function, allocatable ptrhashtablemodule::iterator (this)
 An iterator used to iterate through the HashTable.
subroutine ptrhashtablemodule::add (this, key, val)
 Add a void pointer to the HashTable.
class(*) function, pointer ptrhashtablemodule::get (this, key)
 Get a void pointer from the HashTable using a key.
logical function ptrhashtablemodule::contains (this, key)
 Boolean indicating if an item exists in the hashtable.
integer(i4b) function ptrhashtablemodule::count (this)
 The nummer of items in the HashTable.
subroutine ptrhashtablemodule::clear (this)
 Clears the HashTable.
integer(i4b) function ptrhashtablemodule::compute_hash (key)
 Compute the hash of a key.

Variables

integer(i4b), parameter, private ptrhashtablemodule::hash_size = 4993
integer(i4b), parameter, private ptrhashtablemodule::multiplier = 31
integer(i4b), parameter, public ptrhashtablemodule::bucket_size = 1000