Example usage for Java org.apache.lucene.util LongBitSet fields, constructors, methods, implement or subclass
The text is from its open source code.
LongBitSet(long numBits) Creates a new LongBitSet. |
long | cardinality() Returns number of set bits. |
LongBitSet | ensureCapacity(LongBitSet bits, long numBits) If the given LongBitSet is large enough to hold numBits+1 , returns the given bits, otherwise returns a new LongBitSet which can hold the requested number of bits. |
void | flip(long startIndex, long endIndex) Flips a range of bits |
boolean | get(long index) |
boolean | getAndSet(long index) |
long | length() Returns the number of bits stored in this bitset. |