8#ifndef INCLUDED_BSLALG_HASHTABLEBUCKET
9#define INCLUDED_BSLALG_HASHTABLEBUCKET
275#include <bslscm_version.h>
286#ifndef BDE_DONT_ALLOW_TRANSITIVE_INCLUDES
439 return lhs.first() == rhs.first() && lhs.last() == rhs.last();
446 return lhs.first() !=
rhs.first() ||
lhs.last() !=
rhs.last();
Definition bslalg_bidirectionallink.h:347
BidirectionalLink * nextLink() const
Return the address of the next node linked from this node.
Definition bslalg_bidirectionallink.h:422
#define BSLS_ASSERT_SAFE(X)
Definition bsls_assert.h:1917
#define BSLS_IDENT(str)
BSLS_IDENT() - insert string into .comment binary segment (if supported)
Definition bsls_ident.h:238
ALLOCATOR const STRING_VIEW_LIKE_TYPE & rhs
Definition bslstl_string.h:3918
ALLOCATOR & lhs
Definition bslstl_string.h:3917
Definition bdlc_flathashmap.h:2218
bool operator==(const HashTableAnchor &lhs, const HashTableAnchor &rhs)
bool operator!=(const HashTableAnchor &lhs, const HashTableAnchor &rhs)
Definition bslalg_hashtablebucket.h:297
BidirectionalLink * d_first_p
Definition bslalg_hashtablebucket.h:300
BidirectionalLink * first() const
Definition bslalg_hashtablebucket.h:421
BidirectionalLink * d_last_p
Definition bslalg_hashtablebucket.h:301
void setFirst(BidirectionalLink *node)
Definition bslalg_hashtablebucket.h:382
void setLast(BidirectionalLink *node)
Definition bslalg_hashtablebucket.h:390
BidirectionalLink * end() const
Definition bslalg_hashtablebucket.h:415
BidirectionalLink * last() const
Definition bslalg_hashtablebucket.h:427
BSLMF_NESTED_TRAIT_DECLARATION(HashTableBucket, bslmf::IsBitwiseCopyable)
void setFirstAndLast(BidirectionalLink *first, BidirectionalLink *last)
Definition bslalg_hashtablebucket.h:398
void reset()
Set first and last to a null pointer value.
Definition bslalg_hashtablebucket.h:408
std::size_t countElements() const
Return the number of nodes in this hash bucket.
Definition bslmf_isbitwisecopyable.h:298