Method | Description | |
---|---|---|
And ( |
this = this AND other
|
|
AndNot ( |
this = this AND NOT other
|
|
Bits2words ( long numBits ) : int |
returns the number of 64 bit words it would take to hold numBits
|
|
Cardinality ( ) : long |
Returns number of set bits. NOTE: this visits every long in the backing bits array, and the result is not internally cached!
|
|
Clear ( long index ) : void | ||
Clear ( long startIndex, long endIndex ) : void |
Clears a range of bits.
|
|
Clone ( ) : |
||
EnsureCapacity ( |
If the given LongBitSet is large enough to hold {@code numBits}, returns the given bits, otherwise returns a new LongBitSet which can hold the requested number of bits. NOTE: the returned bitset reuses the underlying {@code long[]} of the given {@code bits} if possible. Also, calling #length() on the returned bits may return a value greater than {@code numBits}.
|
|
Equals ( object o ) : bool |
returns true if both sets have the same bits set
|
|
Flip ( long startIndex, long endIndex ) : void |
Flips a range of bits
|
|
Get ( long index ) : bool | ||
GetAndClear ( long index ) : bool | ||
GetAndSet ( long index ) : bool | ||
GetHashCode ( ) : int | ||
Intersects ( |
returns true if the sets have any elements in common
|
|
Length ( ) : long |
Returns the number of bits stored in this bitset.
|
|
LongBitSet ( long numBits ) : Lucene.Net.Support | ||
LongBitSet ( long storedBits, long numBits ) : Lucene.Net.Support | ||
NextSetBit ( long index ) : long |
Returns the index of the first set bit starting at the index specified. -1 is returned if there are no more set bits.
|
|
Or ( |
this = this OR other
|
|
PrevSetBit ( long index ) : long |
Returns the index of the last set bit before or on the index specified. -1 is returned if there are no more set bits.
|
|
Set ( long index ) : void | ||
Set ( long startIndex, long endIndex ) : void |
Sets a range of bits
|
|
Xor ( |
this = this XOR other
|
public static Bits2words ( long numBits ) : int | ||
numBits | long | |
return | int |
public Clear ( long startIndex, long endIndex ) : void | ||
startIndex | long | lower index |
endIndex | long | one-past the last bit to clear |
return | void |
public static EnsureCapacity ( |
||
bits | ||
numBits | long | |
return |
public Flip ( long startIndex, long endIndex ) : void | ||
startIndex | long | lower index |
endIndex | long | one-past the last bit to flip |
return | void |
public Intersects ( |
||
other | ||
return | bool |
public LongBitSet ( long numBits ) : Lucene.Net.Support | ||
numBits | long | |
return | Lucene.Net.Support |
public LongBitSet ( long storedBits, long numBits ) : Lucene.Net.Support | ||
storedBits | long | |
numBits | long | |
return | Lucene.Net.Support |
public Set ( long startIndex, long endIndex ) : void | ||
startIndex | long | lower index |
endIndex | long | one-past the last bit to set |
return | void |