Bitmap

Constructors

this
this()

Creates an empty bitmap

this
this(const uint cap)

Creates an empty bitmap with a predefined capacity PARAMS uint cap: The predefined capacity

Destructor

A destructor is present on this object, but not explicitly documented in the source.

Members

Functions

contains
bool contains(const uint x)

Check if value x is present

rank
ulong rank(const uint rank)

Returns the number of integers that are smaller or equal to x.

remove
void remove(const uint x)

Remove value x

Properties

maximum
uint maximum [@property getter]

Return the largest value (if not empty)

minimum
uint minimum [@property getter]

Return the smallest value (if not empty)

Meta