Oracle Coherence for C++ API


HashSet Class Reference

#include <coherence/util/HashSet.hpp>

Inherits MappedSet.

List of all members.

Detailed Description

Set implementation which is backed by a HashMap.

mf 2008.02.25

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.

Constructor & Destructor Documentation

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)

The documentation for this class was generated from the following file:
Copyright © 2000, 2011, Oracle and/or its affiliates. All rights reserved.