## Uses of Class
cern.colt.bitvector.BitVector

- Packages that use BitVector
  Package | Description
  --- | ---
  cern.colt.bitvector | Bit vectors and bit matrices.
  cern.colt.list | Resizable lists holding objects or primitive data types such as `int`, `double`, etc.

- - ### Uses of BitVector in cern.colt.bitvector

    Methods in cern.colt.bitvector that return BitVector
    Modifier and Type | Method and Description
    --- | ---
    `BitVector` | BitVector.`copy()` Returns a deep copy of the receiver; calls `clone()` and casts the result.
    `BitVector` | BitVector.`partFromTo(int from, int to)` Constructs and returns a new bit vector which is a copy of the given range.
    `BitVector` | BitMatrix.`toBitVector()` Converts the receiver to a bitvector.

    Methods in cern.colt.bitvector with parameters of type BitVector
    Modifier and Type | Method and Description
    --- | ---
    `void` | BitVector.`and(BitVector other)` Performs a logical AND of the receiver with another bit vector (A = A & B).
    `void` | BitVector.`andNot(BitVector other)` Clears all of the bits in receiver whose corresponding bit is set in the other bitvector (A = A \ B).
    `void` | BitVector.`or(BitVector other)` Performs a logical OR of the receiver with another bit vector (A = A | B).
    `void` | BitVector.`replaceFromToWith(int from, int to, BitVector source, int sourceFrom)` Replaces the bits of the receiver in the given range with the bits of another bit vector.
    `void` | BitVector.`xor(BitVector other)` Performs a logical XOR of the receiver with another bit vector (A = A ^ B).

  - ### Uses of BitVector in cern.colt.list

    Methods in cern.colt.list that return BitVector
    Modifier and Type | Method and Description
    --- | ---
    `BitVector` | MinMaxNumberList.`toBitVector()` Returns the receiver seen as bitvector.

    Methods in cern.colt.list with parameters of type BitVector
    Modifier and Type | Method and Description
    --- | ---
    `void` | MinMaxNumberList.`partFromTo(int from, int to, BitVector qualificants, int qualificantsFrom, long[] part, int partFrom)` Copies all elements between index `from` (inclusive) and `to` (inclusive) into `part`, starting at index `partFrom` within `part`.

Jump to the Colt Homepage