Property | Type | Description | |
---|---|---|---|
bits | int[] | ||
size | int |
Method | Description | |
---|---|---|
BitArray ( int size ) : System | ||
ToString ( ) : String | ||
clear ( ) : void |
Clears all bits (sets to false).
|
|
flip ( int i ) : void |
Flips bit i.
|
|
getBitArray ( ) : int[] | ||
get_Renamed ( int i ) : bool | ||
isRange ( int start, int end, bool value_Renamed ) : bool |
Efficient method to check if a range of bits is set, or not set.
|
|
reverse ( ) : void |
Reverses all bits in the array.
|
|
setBulk ( int i, int newBits ) : void |
Sets a block of 32 bits, starting at bit i.
|
|
set_Renamed ( int i ) : void |
Sets bit i.
|
Method | Description | |
---|---|---|
makeArray ( int size ) : int[] |
public isRange ( int start, int end, bool value_Renamed ) : bool | ||
start | int | start of range, inclusive. /// |
end | int | end of range, exclusive /// |
value_Renamed | bool | |
return | bool |
public setBulk ( int i, int newBits ) : void | ||
i | int | first bit to set /// |
newBits | int | the new value of the next 32 bits. Note again that the least-significant bit /// corresponds to bit i, the next-least-significant to i+1, and so on. /// |
return | void |