Lucene.Net  3.0.3
Lucene.Net is a .NET port of the Java Lucene Indexing Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties
Classes | Namespaces | Typedefs
OpenBitSet.cs File Reference

Go to the source code of this file.


class  Lucene.Net.Util.OpenBitSet
 An "open" BitSet implementation that allows direct access to the array of words storing the bits. Unlike java.util.bitset, the fact that bits are packed into an array of longs is part of the interface. This allows efficient implementation of other algorithms by someone other than the author. It also allows one to efficiently implement alternate serialization or interchange formats. OpenBitSet is faster than java.util.BitSet in most operations and much faster at calculating cardinality of sets and results of set operations. It can also handle sets of larger cardinality (up to 64 * 2**32-1) The goals of OpenBitSet are the fastest implementation possible, and maximum code reuse. Extra safety and encapsulation may always be built on top, but if that's built in, the cost can never be removed (and hence people re-implement their own version in order to get better performance). If you want a "safe", totally encapsulated (and slower and limited) BitSet class, use java.util.BitSet. More...


package  Lucene.Net.Util


using DocIdSet = Lucene.Net.Search.DocIdSet
using DocIdSetIterator = Lucene.Net.Search.DocIdSetIterator

Typedef Documentation

Definition at line 20 of file OpenBitSet.cs.

Definition at line 21 of file OpenBitSet.cs.