The methods of the BitVector class are listed below. For a complete list of BitVector class members, see the BitVector Members topic.
Clear | Sets the value of bitto zero. |
Count | Returns 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. |
Get | Returns trueif bitis one and falseif 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. |
Set | Sets the value of bitto one. |
Size | Returns 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. |
Write | Writes this vector to the file namein Directory d, in a format that can be read by the constructor {@link #BitVector(Directory, String)}. |