[#BloombergLP-bslalg-HashTableBucket-setLast]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslalg.adoc[bslalg]::xref:BloombergLP/bslalg/HashTableBucket.adoc[HashTableBucket]::setLast
:relfileprefix: ../../../
:mrdocs:

Set the `last` element of this bucket to the specified `node`&period;

== Synopsis

Declared in `&lt;bslalg&lowbar;hashtablebucket&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
setLast(xref:BloombergLP/bslalg/BidirectionalLink.adoc[BidirectionalLink]* node);
----

== Description

The behavior is undefined unless `node` is an element from the same bidirectional list as the `first` element in this bucket, and `node` either follows `first` in that list, or is the same node, or this bucket is empty and `node` has a null pointer value&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *node*
| new last element of this bucket
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
