Method | Description | |
---|---|---|
And ( FixedBitSet other ) : void | ||
AndNot ( FixedBitSet other ) : void | ||
Bits ( ) : IBits | ||
Cardinality ( ) : int |
Returns number of set bits. NOTE: this visits every long in the backing bits array, and the result is not internally cached!
|
|
Clear ( int index ) : void | ||
Clear ( int startIndex, int endIndex ) : void | ||
Clone ( ) : FixedBitSet | ||
Equals ( Object o ) : bool | ||
FixedBitSet ( FixedBitSet other ) : System |
Makes full copy.
|
|
FixedBitSet ( int numBits ) : System | ||
Get ( int index ) : bool | ||
GetAndClear ( int index ) : bool | ||
GetAndSet ( int index ) : bool | ||
GetHashCode ( ) : int | ||
Iterator ( ) : |
||
Length ( ) : int | ||
NextSetBit ( int index ) : int |
Returns the index of the first set bit starting at the index specified. -1 is returned if there are no more set bits.
|
|
Or ( FixedBitSet other ) : void | ||
PrevSetBit ( int index ) : int | ||
Set ( int index ) : void | ||
Set ( int startIndex, int endIndex ) : void | ||
bits2words ( int numBits ) : int |
returns the number of 64 bit words it would take to hold numBits
|
Method | Description | |
---|---|---|
And ( |
||
AndNot ( |
||
Or ( |
public Clear ( int startIndex, int endIndex ) : void | ||
startIndex | int | |
endIndex | int | |
return | void |
public FixedBitSet ( FixedBitSet other ) : System | ||
other | FixedBitSet | |
return | System |
public Iterator ( ) : |
||
return |
public Set ( int startIndex, int endIndex ) : void | ||
startIndex | int | |
endIndex | int | |
return | void |
public static bits2words ( int numBits ) : int | ||
numBits | int | |
return | int |