Метод | Описание | |
---|---|---|
And ( IBitset otherSet ) : IBitset |
Creates a new bitset that is the bitwise AND of this bitset with another
|
|
AndWith ( IBitset otherSet ) : void |
Performs an in-place intersection of two Roaring Bitsets.
|
|
Cardinality ( ) : int |
The number of members in the set
|
|
Clone ( ) : IBitset |
Create a new bitset that is a deep copy of this one.
|
|
Difference ( IBitset otherSet ) : IBitset |
Creates a new IBitSet that has the members of this BitSet that are not members of the other bitset
|
|
Equals ( object obj ) : bool | ||
Flip ( int index ) : 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 ( |
||
Not ( ) : IBitset |
Returns a new bitset that consists of all elements that are not in this bitset.
|
|
Or ( IBitset otherSet ) : IBitset |
Creates a new bitset that is the bitwise OR of this bitset with another bitset.
|
|
OrWith ( IBitset otherSet ) : void |
Computes the in-place bitwise OR of this bitset with another bitset.
|
|
Serialize ( System stream ) : void | ||
Set ( int index, bool value ) : void |
If the value is true and given index is not in the set add it. If the value is false and the index is in the set remove it. Otherwise, do nothing.
|
|
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.
|
|
SetAll ( bool value ) : void |
Sets all bits in the array to the specified value
|
|
ToBitArray ( ) : |
||
UncompressedBitArray ( ) : System | ||
UncompressedBitArray ( |
||
UncompressedBitArray ( int indices ) : System | ||
UncompressedBitArray ( int indices, int capacity ) : System |
public And ( IBitset otherSet ) : IBitset | ||
otherSet | IBitset | Other bitset |
Результат | IBitset |
public AndWith ( IBitset otherSet ) : void | ||
otherSet | IBitset | the second Roaring Bitset to intersect |
Результат | void |
public Difference ( IBitset otherSet ) : IBitset | ||
otherSet | IBitset | The other bitset |
Результат | IBitset |
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 Or ( IBitset otherSet ) : IBitset | ||
otherSet | IBitset | Other bitset |
Результат | IBitset |
public OrWith ( IBitset otherSet ) : void | ||
otherSet | IBitset | Other bitset |
Результат | void |
public Set ( int index, bool value ) : void | ||
index | int | the index to set |
value | bool | |
Результат | 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 |
public UncompressedBitArray ( |
||
copy | ||
Результат | System |
public UncompressedBitArray ( int indices ) : System | ||
indices | int | |
Результат | System |
public UncompressedBitArray ( int indices, int capacity ) : System | ||
indices | int | |
capacity | int | |
Результат | System |