BDE 4.14.0 Production release
Loading...
Searching...
No Matches
bdlcc::SkipList_RandomLevelGenerator Class Reference

#include <bdlcc_skiplist.h>

Public Member Functions

 SkipList_RandomLevelGenerator ()
 Construct a thread-aware random-level generator.
 
int randomLevel ()
 Return a random integer between 0 and k_MAX_LEVEL.
 

Detailed Description

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

See bdlcc_skiplist

Constructor & Destructor Documentation

◆ SkipList_RandomLevelGenerator()

bdlcc::SkipList_RandomLevelGenerator::SkipList_RandomLevelGenerator ( )

Member Function Documentation

◆ randomLevel()

int bdlcc::SkipList_RandomLevelGenerator::randomLevel ( )

The documentation for this class was generated from the following file: