DotLucene 1.4 API Documentation

BitVector Methods

The methods of the BitVector class are listed below. For a complete list of BitVector class members, see the BitVector Members topic.

Public Instance Methods

ClearSets the value of bit to zero.
CountReturns the total number of one bits in this vector. This is efficiently computed and cached, so that, if the vector is not changed, no recomputation is done for repeated calls.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetReturns true if bit is one and false if it is zero.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
SetSets the value of bit to one.
SizeReturns the number of bits in this vector. This is also one greater than the number of the largest valid bit number.
ToString (inherited from Object) Returns a String that represents the current Object.
WriteWrites this vector to the file name in Directory d, in a format that can be read by the constructor {@link .BitVector(Directory, String)}.

See Also

BitVector Class | Lucene.Net.Util Namespace