Roaring

Undocumented in source.

Constructors

this
this()

Creates an empty bitmap

this
this(uint cap)

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

Destructor

~this
~this()
Undocumented in source.

Members

Functions

add
void add(uint x)
Undocumented in source. Be warned that the author may not have intended to support it.
contains
bool contains(uint x)

Check if value x is present

opApply
int opApply(int delegate(ref uint value) dg)
Undocumented in source. Be warned that the author may not have intended to support it.
opApply
int opApply(int delegate(ref uint index, ref uint value) dg)
Undocumented in source. Be warned that the author may not have intended to support it.
opBinary
Roaring opBinary(Roaring b)
Undocumented in source. Be warned that the author may not have intended to support it.
opBinaryRight
bool opBinaryRight(uint x)
Undocumented in source. Be warned that the author may not have intended to support it.
opBinaryRight
bool opBinaryRight(Roaring b)
Undocumented in source. Be warned that the author may not have intended to support it.
opEquals
bool opEquals(Object b)
Undocumented in source. Be warned that the author may not have intended to support it.
opIndex
uint opIndex(uint rank)
Undocumented in source. Be warned that the author may not have intended to support it.
opOpAssign
void opOpAssign(uint x)
Undocumented in source. Be warned that the author may not have intended to support it.
opSlice
Roaring opSlice(int start, int end)
Undocumented in source. Be warned that the author may not have intended to support it.
optimize
bool optimize()
Undocumented in source. Be warned that the author may not have intended to support it.
rank
ulong rank(uint rank)

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

remove
void remove(uint x)

Remove value x

toArray
uint[] toArray()
Undocumented in source. Be warned that the author may not have intended to support it.
toString
void toString(void delegate(const(char)[]) sink)
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

copyOnWrite
bool copyOnWrite [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
length
uint length [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
maximum
uint maximum [@property getter]

Return the largest value (if not empty)

minimum
uint minimum [@property getter]

Return the smallest value (if not empty)

opDollar
uint opDollar [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
sizeInBytes
size_t sizeInBytes [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Meta