[#BloombergLP-bdlcc-StripedUnorderedContainerImpl_Bucket] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlcc.adoc[bdlcc]::StripedUnorderedContainerImpl_Bucket :relfileprefix: ../../ :mrdocs: 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. == Synopsis Declared in `<bdlcc_stripedunorderedcontainerimpl.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class KEY, class VALUE> class StripedUnorderedContainerImpl_Bucket; ---- == Enums [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bdlcc/StripedUnorderedContainerImpl_Bucket/BucketScope.adoc[`BucketScope`] | Enumeration to differentiate between processing all elements with the same key, or just the first one (and typically the only one). |=== == Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bdlcc/StripedUnorderedContainerImpl_Bucket/2constructor-0f.adoc[`StripedUnorderedContainerImpl_Bucket`] [.small]#[constructor]# | Constructors | xref:BloombergLP/bdlcc/StripedUnorderedContainerImpl_Bucket/2destructor.adoc[`~StripedUnorderedContainerImpl_Bucket`] [.small]#[destructor]# | Destroy this object. | xref:BloombergLP/bdlcc/StripedUnorderedContainerImpl_Bucket/addNode.adoc[`addNode`] | Add the specified `nodePtr` node at the end of this bucket. | xref:BloombergLP/bdlcc/StripedUnorderedContainerImpl_Bucket/allocator.adoc[`allocator`] | Return the allocator used by `StripedUnorderedContainerImpl_Bucket` to allocate memory. | xref:BloombergLP/bdlcc/StripedUnorderedContainerImpl_Bucket/clear.adoc[`clear`] | Empty `StripedUnorderedContainerImpl_Bucket` and delete all nodes. | xref:BloombergLP/bdlcc/StripedUnorderedContainerImpl_Bucket/empty.adoc[`empty`] | Return `true` if this bucket contains no elements, and `false` otherwise. | xref:BloombergLP/bdlcc/StripedUnorderedContainerImpl_Bucket/head.adoc[`head`] | Return the head (node) of this bucket list. | xref:BloombergLP/bdlcc/StripedUnorderedContainerImpl_Bucket/headAddress.adoc[`headAddress`] | Return the address of the head (node) of this bucket list. | xref:BloombergLP/bdlcc/StripedUnorderedContainerImpl_Bucket/incrementSize.adoc[`incrementSize`] | Increment the `size` attribute of this bucket by the specified `amount`. | xref:BloombergLP/bdlcc/StripedUnorderedContainerImpl_Bucket/setHead.adoc[`setHead`] | Set the address of the head of this bucket list to the specified `value`. | xref:BloombergLP/bdlcc/StripedUnorderedContainerImpl_Bucket/setSize.adoc[`setSize`] | Set the `size` attribute of this bucket to the specified `value`. | xref:BloombergLP/bdlcc/StripedUnorderedContainerImpl_Bucket/setTail.adoc[`setTail`] | Set the pointer of the tail of this bucket list to the specified `value`. | xref:BloombergLP/bdlcc/StripedUnorderedContainerImpl_Bucket/setValue-0e.adoc[`setValue`] | `setValue` overloads | xref:BloombergLP/bdlcc/StripedUnorderedContainerImpl_Bucket/size.adoc[`size`] | Return the current number of elements in this bucket. | xref:BloombergLP/bdlcc/StripedUnorderedContainerImpl_Bucket/tail.adoc[`tail`] | Return address of the tail (node) of this bucket list. | xref:BloombergLP/bdlcc/StripedUnorderedContainerImpl_Bucket/2conversion.adoc[`operator BloombergLP::bslmf::NestedTraitDeclaration<StripedUnorderedContainerImpl_Bucket, UsesBslmaAllocator>`] | Declare that this type uses a `bslma` allocator. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#