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.
|
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.
|
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).
|
protected void |
BitVector.checkSize(BitVector other)
Sanity check for operations requiring another bitvector with at least the same size.
|
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).
|
Modifier and Type | Method and Description |
---|---|
BitVector |
MinMaxNumberList.toBitVector()
Returns the receiver seen as 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.
|
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.