The BitVector type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | BitVector(Int32) | Constructs a vector capable of holding ![]() n |
![]() | BitVector(Directory, String) | Constructs a bit vector from the file ![]() name ![]() d |
Methods
Name | Description | |
---|---|---|
![]() | Clear | Sets the value of ![]() bit |
![]() | Clone | |
![]() | 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.) |
![]() | Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
![]() | Get | Returns ![]() true ![]() bit ![]() false |
![]() | GetAndSet | Sets the value of ![]() bit |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetRecomputedCount |
For testing
|
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | Set | Sets the value of ![]() bit |
![]() | Size | Returns the number of bits in this vector. This is also one greater than
the number of the largest valid bit number.
|
![]() | Subset | Retrieve a subset of this BitVector.
|
![]() | ToString | (Inherited from Object.) |
![]() | Write | Writes this vector to the file ![]() name ![]() d |