Метод | Описание | |
---|---|---|
Add ( int x ) : void |
Adds the specified value to the current bitmap
|
|
Add ( int rangeStart, int rangeEnd ) : void |
Add to the current bitmap all integers in [rangeStart,rangeEnd).
|
|
And ( IBitset otherSet ) : IBitset |
Creates a new bitset that is the bitwise AND of this bitset with another
|
|
And ( |
||
AndNot ( |
Finds members of a bitset that are not in the other set (ANDNOT). This does not modify either bitset.
|
|
AndWith ( IBitset otherSet ) : void |
Performs an in-place intersection of two Roaring Bitsets.
|
|
Cardinality ( ) : int |
The number of members of the set
|
|
Clone ( ) : IBitset |
Create a new bitset that is a deep copy of this one.
|
|
Create ( int input ) : |
||
Deserialize ( Stream stream ) : |
Read a binary serialization of a roaring bitset, as written by the Serialize method.
|
|
Difference ( IBitset otherSet ) : IBitset |
Finds members of this bitset that are not in the other set (ANDNOT). This does not modify either bitset.
|
|
DifferenceWith ( IBitset otherSet ) : void |
Finds members of this bitset that are not in the other set (ANDNOT). Places the results in the current bitset (modifies in place).
|
|
Equals ( Object o ) : bool | ||
Flip ( int x ) : void |
If the given index is not in the set add it, otherwise remove it.
|
|
Flip ( int start, int end ) : void |
For indices in the range [start, end) add the index to the set if it does not exists, otherwise remove it.
|
|
Get ( int index ) : bool |
Return whether the given index is a member of this set
|
|
GetEnumerator ( ) : IEnumerator |
||
GetHashCode ( ) : int | ||
GetObjectData ( |
||
IAndNot ( |
Finds members of this bitset that are not in the other set (ANDNOT). Modifies current bitset in place.
|
|
Or ( IBitset otherSet ) : IBitset |
Creates a new bitset that is the bitwise OR of this bitset with another
|
|
OrWith ( IBitset otherSet ) : void |
Computes the in-place bitwise OR of this bitset with another
|
|
Remove ( int rangeStart, int rangeEnd ) : void |
Remove from the current bitmap all integers in [rangeStart,rangeEnd).
|
|
Select ( int j ) : int | ||
Serialize ( Stream stream ) : void |
Write a binary serialization of this roaring bitset.
|
|
Set ( int index, bool value ) : void |
Adds the current index to the set if value is true, otherwise removes it if the set contains it.
|
|
Set ( int start, int end, bool value ) : void |
For indices in the range [start, end) add the index to the set if the value is true, otherwise remove it.
|
|
ToBitArray ( ) : |
Метод | Описание | |
---|---|---|
AndWith ( |
Performs an in-place intersection of two Roaring Bitsets.
|
|
IEnumerable ( ) : IEnumerator |
Get an enumerator of the set indices of this bitset.
|
public Add ( int rangeStart, int rangeEnd ) : void | ||
rangeStart | int | Inclusive beginning of range |
rangeEnd | int | Exclusive ending of range |
Результат | void |
public And ( IBitset otherSet ) : IBitset | ||
otherSet | IBitset | Other bitset |
Результат | IBitset |
public static And ( |
||
x1 | ||
x2 | ||
Результат |
public AndNot ( |
||
otherSet | The set to compare against | |
Результат | IBitset |
public AndWith ( IBitset otherSet ) : void | ||
otherSet | IBitset | the second Roaring Bitset to intersect |
Результат | void |
public static Create ( int input ) : |
||
input | int | |
Результат |
public static Deserialize ( Stream stream ) : |
||
stream | Stream | The stream to read from. |
Результат |
public Difference ( IBitset otherSet ) : IBitset | ||
otherSet | IBitset | The set to compare against |
Результат | IBitset |
public DifferenceWith ( IBitset otherSet ) : void | ||
otherSet | IBitset | The set to compare against |
Результат | void |
public Flip ( int start, int end ) : void | ||
start | int | the index to start from (inclusive) |
end | int | the index to stop at (exclusive) |
Результат | void |
public GetObjectData ( |
||
info | ||
context | ||
Результат | void |
public IAndNot ( |
||
otherSet | The set to compare against | |
Результат | void |
public Or ( IBitset otherSet ) : IBitset | ||
otherSet | IBitset | Other bitset |
Результат | IBitset |
public OrWith ( IBitset otherSet ) : void | ||
otherSet | IBitset | Other bitset |
Результат | void |
public Remove ( int rangeStart, int rangeEnd ) : void | ||
rangeStart | int | inclusive beginning of range |
rangeEnd | int | exclusive ending of range |
Результат | void |
public Serialize ( Stream stream ) : void | ||
stream | Stream | The stream to write to. |
Результат | void |
public Set ( int index, bool value ) : void | ||
index | int | The index to set |
value | bool | Boolean of whether to add or remove the index |
Результат | void |
public Set ( int start, int end, bool value ) : void | ||
start | int | the index to start from (inclusive) |
end | int | the index to stop at (exclusive) |
value | bool | |
Результат | void |