This class represents a bucket of the hash map. This class template represents the head of in the singly-linked list of (KEY, VALUE) elements in a hash map.
Declared in <bdlcc_stripedunorderedcontainerimpl.h>
template<
class KEY,
class VALUE>
class StripedUnorderedContainerImpl_Bucket;
| Name | Description |
|---|---|
BucketScope | Enumeration to differentiate between processing all elements with the same key, or just the first one (and typically the only one). |
| Name | Description |
|---|---|
StripedUnorderedContainerImpl_Bucket [constructor] | Constructors |
~StripedUnorderedContainerImpl_Bucket [destructor] | Destroy this object. |
addNode | Add the specified nodePtr node at the end of this bucket. |
allocator | Return the allocator used by StripedUnorderedContainerImpl_Bucket to allocate memory. |
clear | Empty StripedUnorderedContainerImpl_Bucket and delete all nodes. |
empty | Return true if this bucket contains no elements, and false otherwise. |
head | Return the head (node) of this bucket list. |
headAddress | Return the address of the head (node) of this bucket list. |
incrementSize | Increment the size attribute of this bucket by the specified amount. |
setHead | Set the address of the head of this bucket list to the specified value. |
setSize | Set the size attribute of this bucket to the specified value. |
setTail | Set the pointer of the tail of this bucket list to the specified value. |
setValue | setValue overloads |
size | Return the current number of elements in this bucket. |
tail | Return address of the tail (node) of this bucket list. |
operator BloombergLP::bslmf::NestedTraitDeclaration<StripedUnorderedContainerImpl_Bucket, UsesBslmaAllocator> | Declare that this type uses a bslma allocator. |