[#BloombergLP-bslalg-HashTableBucket-setFirst] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslalg.adoc[bslalg]::xref:BloombergLP/bslalg/HashTableBucket.adoc[HashTableBucket]::setFirst :relfileprefix: ../../../ :mrdocs: Set the `first` element of this bucket to the specified `node`. The behavior is undefined unless `node` is an element from the same bidirectional list as the `last` element in this bucket, and `node` either precedes `last` in that list, or is the same node, or this bucket is empty and `node` has a null pointer value. == Synopsis Declared in `<bslalg_hashtablebucket.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void setFirst(xref:BloombergLP/bslalg/BidirectionalLink.adoc[BidirectionalLink]* node); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#