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

Synopsis

Declared in <bdlcc_skiplist.h>

class SkipList_RandomLevelGenerator;

Member Functions

Name

Description

SkipList_RandomLevelGenerator [constructor]

Construct a thread‐aware random‐level generator.

randomLevel

Return a random integer between 0 and k_MAX_LEVEL.

Created with MrDocs