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

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

Introduction

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

The text is from its open source code.

Subclass

org.apache.lucene.util.BitSet has subclasses.
Click this link to see all its subclasses.

Method

intcardinality()
Return the number of bits that are set.
voidclear(int i)
Clear the bit at i.
booleanget(int index)
Returns the value of the bit with the specified index.
intlength()
Returns the number of bits in this set
intnextSetBit(int index)
Returns the index of the first set bit starting at the index specified.
BitSetof(DocIdSetIterator it, int maxDoc)
Build a BitSet from the content of the provided DocIdSetIterator .
intprevSetBit(int index)
Returns the index of the last set bit before or on the index specified.
voidset(int i)
Set the bit at i.