Lucene.Net
3.0.3
Lucene.Net is a .NET port of the Java Lucene Indexing Library
|
This class provides supporting methods of java.util.BitSet that are not present in System.Collections.BitArray. More...
Static Public Member Functions | |
static int | NextSetBit (System.Collections.BitArray bitArray, int index) |
Returns the next set bit at or after index, or -1 if no such bit exists. | |
static int | NextClearBit (System.Collections.BitArray bitArray, int index) |
Returns the next un-set bit at or after index, or -1 if no such bit exists. | |
static int | Cardinality (System.Collections.BitArray bits) |
Returns the number of bits set to true in this BitSet. | |
This class provides supporting methods of java.util.BitSet that are not present in System.Collections.BitArray.
Definition at line 28 of file BitSetSupport.cs.
|
static |
Returns the number of bits set to true in this BitSet.
bits | The BitArray object. |
Definition at line 77 of file BitSetSupport.cs.
|
static |
Returns the next un-set bit at or after index, or -1 if no such bit exists.
bitArray | |
index | the index of bit array at which to start checking |
Definition at line 57 of file BitSetSupport.cs.
|
static |
Returns the next set bit at or after index, or -1 if no such bit exists.
bitArray | |
index | the index of bit array at which to start checking |
Definition at line 36 of file BitSetSupport.cs.