#include <coherence/util/HashSet.hpp>
Inherits MappedSet.
Public Types | |
typedef spec::Handle | Handle |
HashSet Handle definition. | |
typedef spec::View | View |
HashSet View definition. | |
typedef spec::Holder | Holder |
HashSet Holder definition. | |
Protected Member Functions | |
HashSet (size32_t cInitialBuckets=17, float32_t flLoadFactor=1.0F, float32_t flGrowthRate=3.0F) | |
Construct a hash set using the specified settings. | |
HashSet (const HashSet &that) | |
Copy constructor. |
HashSet | ( | size32_t | cInitialBuckets = 17 , |
|
float32_t | flLoadFactor = 1.0F , |
|||
float32_t | flGrowthRate = 3.0F | |||
) | [protected] |
Construct a hash set using the specified settings.
cInitialBuckets | the initial number of hash buckets, 0 < n | |
flLoadFactor | the acceptable load factor before resizing occurs, 0 < n, such that a load factor of 1.0 causes resizing when the number of entries exceeds the number of buckets | |
flGrowthRate | the rate of bucket growth when a resize occurs, 0 < n, such that a growth rate of 1.0 will double the number of buckets: bucketcount = bucketcount * (1 + growthrate) |