Class Int64BitSet
BitSet of fixed length (Lucene.Net.Util.Int64BitSet.numBits), backed by accessible (GetBits())
long[], accessed with a
NOTE: This was LongBitSet in Lucene
@lucene.internal
Inheritance
Assembly: DistributedLucene.Net.dll
Syntax
public sealed class Int64BitSet : object
Constructors
Name | Description |
---|---|
Int64BitSet(Int64) | |
Int64BitSet(Int64[], Int64) |
Properties
Name | Description |
---|---|
Length | Returns the number of bits stored in this bitset. |
Methods
Name | Description |
---|---|
And(Int64BitSet) | this = this AND other |
AndNot(Int64BitSet) | this = this AND NOT other |
Bits2words(Int64) | Returns the number of 64 bit words it would take to hold |
Cardinality() | Returns number of set bits. NOTE: this visits every long in the backing bits array, and the result is not internally cached! |
Clear(Int64) | |
Clear(Int64, Int64) | Clears a range of bits. |
Clone() | |
EnsureCapacity(Int64BitSet, Int64) | If the given Int64BitSet is large enough to hold
NOTE: the returned bitset reuses the underlying long[] of
the given |
Equals(Object) | Returns |
Flip(Int64, Int64) | Flips a range of bits |
Get(Int64) | |
GetAndClear(Int64) | |
GetAndSet(Int64) | |
GetBits() | Expert. |
GetHashCode() | |
Intersects(Int64BitSet) | Returns |
NextSetBit(Int64) | Returns the index of the first set bit starting at the |
Or(Int64BitSet) | this = this OR other |
PrevSetBit(Int64) | Returns the index of the last set bit before or on the |
Set(Int64) | |
Set(Int64, Int64) | Sets a range of bits |
Xor(Int64BitSet) | this = this XOR other |