Example usage for Java org.apache.lucene.util FixedBitSet fields, constructors, methods, implement or subclass
The text is from its open source code.
FixedBitSet(int numBits) Creates a new LongBitSet. | |
FixedBitSet(long[] storedBits, int numBits) Creates a new LongBitSet using the provided long[] array as backing store. |
void | and(FixedBitSet other) this = this AND other |
void | andNot(FixedBitSet other) this = this AND NOT other |
int | bits2words(int numBits) returns the number of 64 bit words it would take to hold numBits |
int | cardinality() Returns number of set bits. |
void | clear(int index) |
void | clear(int startIndex, int endIndex) |
FixedBitSet | ensureCapacity(FixedBitSet bits, int numBits) If the given FixedBitSet is large enough to hold numBits+1 , returns the given bits, otherwise returns a new FixedBitSet which can hold the requested number of bits. |
boolean | equals(Object o) |
void | flip(int startIndex, int endIndex) Flips a range of bits |
boolean | get(int index) |
boolean | getAndClear(int index) |
boolean | getAndSet(int index) |
long[] | getBits() Expert. |
int | hashCode() |
int | length() |
int | nextSetBit(int index) |
void | or(DocIdSetIterator iter) |
void | or(FixedBitSet other) this = this OR other |
int | prevSetBit(int index) |
void | set(int startIndex, int endIndex) Sets a range of bits |
void | set(int index) |
void | xor(FixedBitSet other) this = this XOR other |
void | xor(DocIdSetIterator iter) Does in-place XOR of the bits provided by the iterator. |