[#BloombergLP-bdlcc-StripedUnorderedContainerImpl_Bucket-setValue-0d] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlcc.adoc[bdlcc]::xref:BloombergLP/bdlcc/StripedUnorderedContainerImpl_Bucket.adoc[StripedUnorderedContainerImpl_Bucket]::setValue :relfileprefix: ../../../ :mrdocs: Set the value attribute of the element in this bucket having the specified `key` to the specified `value`, using the specified `equal` to compare keys. If no such element exists, insert `(key, value)`. If there are multiple elements in this hash map having `key` then set the value of the first such element found. Return the number of elements found having `key` that had their value set. Note that, when there are multiple elements having `key`, the selection of "first" is unspecified and subject to change. == Synopsis Declared in `<bdlcc_stripedunorderedcontainerimpl.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class EQUAL> std::size_t setValue( KEY const& key, EQUAL const& equal, xref:BloombergLP/bslmf/MovableRef.adoc[bslmf::MovableRef<VALUE>] value); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#