Optimized implementation of a vector of bits. This is more-or-less like java.util.BitSet, but also includes the following:
  • a count() method, which efficiently computes the number of one bits;
  • optimized read from and write to disk;
  • inlinable get() method;
  • store and load, as bit set or d-gaps, depending on sparseness;

Namespace: Lucene.Net.Util
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1

Syntax

C#
public sealed class BitVector : ICloneable
Visual Basic
Public NotInheritable Class BitVector _
	Implements ICloneable
Visual C++
public ref class BitVector sealed : ICloneable

Inheritance Hierarchy

System..::..Object
  Lucene.Net.Util..::..BitVector

See Also