Java org.apache.lucene.util LongBitSet fields, constructors, methods, implement or subclass

Example usage for Java org.apache.lucene.util LongBitSet fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.lucene.util LongBitSet.

The text is from its open source code.

Constructor

LongBitSet(long numBits)
Creates a new LongBitSet.

Method

longcardinality()
Returns number of set bits.
LongBitSetensureCapacity(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.
voidflip(long startIndex, long endIndex)
Flips a range of bits
booleanget(long index)
booleangetAndSet(long index)
longlength()
Returns the number of bits stored in this bitset.