Return the address of a node whose key matches key, or null.
Synopsis
Declared in <bslstl_hashtable.h>
bslalg::BidirectionalLink*
find(KeyType const& key) const;
Description
Return the address of a link whose key has the same value as the specified key (according to this hash‐table's comparator), and a null pointer value if no such link exists. If this hash‐table contains more than one element having the supplied key, return the first such element (from the contiguous sequence of elements having the same key).
Return Value
address of a matching node, or null if none exists
Parameters
Name |
Description |
key |
key to search for |
Created with MrDocs