BloombergLP::bdlcc::SkipList_RandomLevelGenerator

This component-private class handles randomizing the levelization of list nodes.

Synopsis

Declared in <bdlcc_skiplist.h>

class SkipList_RandomLevelGenerator;

Member Functions

NameDescription
SkipList_RandomLevelGenerator [constructor]Construct a thread-aware random-level generator.
randomLevel Return a random integer between 0 and k_MAX_LEVEL.