Метод | Описание | |
---|---|---|
AndNot ( this bitsA, |
||
And_UnequalLengths ( this bitsA, |
||
BitWiseEquals ( this bitsA, |
||
Cardinality ( this bits ) : int |
Returns the number of bits set to true in this BitSet.
|
|
Clear ( this bits ) : void |
Sets all bits to false
|
|
Clear ( this bits, int index ) : void |
Sets the bit at the given index to false.
|
|
Clear ( this bits, int startIdx, int endIdx ) : void | ||
Equal ( this a, |
||
Flip ( this bits, int startIdx, int endIdx ) : void | ||
NextClearBit ( this bitArray, int index ) : int |
Returns the next un-set bit at or after index, or -1 if no such bit exists.
|
|
NextSetBit ( this bitArray, int index ) : int |
Returns the next set bit at or after index, or -1 if no such bit exists.
|
|
Or_UnequalLengths ( this bitsA, |
||
PrevSetBit ( this bitArray, int index ) : int | ||
SafeGet ( this a, int loc ) : bool | ||
SafeSet ( this a, int loc, bool value ) : void | ||
Set ( this bits, int index ) : void |
Sets the bit at the given index to true.
|
|
Set ( this bits, int startIdx, int endIdx ) : void | ||
Set ( this bits, int fromIndex, int toIndex, bool value ) : void |
Sets the bit at the given index to true.
|
|
Xor_UnequalLengths ( this bitsA, |
public static AndNot ( this bitsA, |
||
bitsA | this | |
bitsB | ||
Результат | void |
public static And_UnequalLengths ( this bitsA, |
||
bitsA | this | |
bitsB | ||
Результат |
public static BitWiseEquals ( this bitsA, |
||
bitsA | this | |
bitsB | ||
Результат | bool |
public static Cardinality ( this bits ) : int | ||
bits | this | The BitArray object. |
Результат | int |
public static Clear ( this bits ) : void | ||
bits | this | The BitArray object. |
Результат | void |
public static Clear ( this bits, int index ) : void | ||
bits | this | The BitArray object. |
index | int | The position to set to false. |
Результат | void |
public static Clear ( this bits, int startIdx, int endIdx ) : void | ||
bits | this | |
startIdx | int | |
endIdx | int | |
Результат | void |
public static Equal ( this a, |
||
a | this | |
b | ||
Результат | bool |
public static Flip ( this bits, int startIdx, int endIdx ) : void | ||
bits | this | |
startIdx | int | |
endIdx | int | |
Результат | void |
public static NextClearBit ( this bitArray, int index ) : int | ||
bitArray | this | |
index | int | the index of bit array at which to start checking |
Результат | int |
public static NextSetBit ( this bitArray, int index ) : int | ||
bitArray | this | |
index | int | the index of bit array at which to start checking |
Результат | int |
public static Or_UnequalLengths ( this bitsA, |
||
bitsA | this | |
bitsB | ||
Результат |
public static PrevSetBit ( this bitArray, int index ) : int | ||
bitArray | this | |
index | int | |
Результат | int |
public static SafeGet ( this a, int loc ) : bool | ||
a | this | |
loc | int | |
Результат | bool |
public static SafeSet ( this a, int loc, bool value ) : void | ||
a | this | |
loc | int | |
value | bool | |
Результат | void |
public static Set ( this bits, int index ) : void | ||
bits | this | The BitArray object. |
index | int | The position to set to true. |
Результат | void |
public static Set ( this bits, int startIdx, int endIdx ) : void | ||
bits | this | |
startIdx | int | |
endIdx | int | |
Результат | void |
public static Set ( this bits, int fromIndex, int toIndex, bool value ) : void | ||
bits | this | The BitArray object. |
fromIndex | int | The start of the range to set(inclusive) |
toIndex | int | The end of the range to set(exclusive) |
value | bool | the value to set to the range |
Результат | void |
public static Xor_UnequalLengths ( this bitsA, |
||
bitsA | this | |
bitsB | ||
Результат |