Package | Description |
---|---|
info.bioinfweb.commons.collections.bitstorage |
Modifier and Type | Method and Description |
---|---|
void |
BitField.copyBits(long sourceStart,
long numberOfBits,
long destStart)
Copies the specified number of bits from one position in the bit field to another.
|
void |
BitField.insertBits(long start,
long numberOfBits)
Inserts the specified number of bits at the specified position of the bit field and moves all bits
with indices
>= start to the right. |
void |
BitField.moveBits(long sourceStart,
long numberOfBits,
long destStart)
Moves the specified number of bits from one position in the bit field to another.
|
boolean |
BitField.readBoolean(long position)
Interprets the bit at the specified position as a boolean value.
|
byte |
BitField.readByte(long start,
long numberOfBits)
Reads a signed integer with the specified length and returns it as a
byte value. |
int |
BitField.readInt(long start,
long numberOfBits)
Reads a signed integer with the specified length and returns it as a
int value. |
long |
BitField.readLong(long start,
long numberOfBits)
Reads a signed integer with the specified length and returns it as a
long value. |
short |
BitField.readShort(long start,
long numberOfBits)
Reads a signed integer with the specified length and returns it as a
short value. |
byte |
BitField.readUnsignedByte(long start,
long numberOfBits)
Reads an unsigned integer with the specified length and returns it as a
byte value. |
int |
BitField.readUnsignedInt(long start,
long numberOfBits)
Reads an unsigned integer with the specified length and returns it as a
int value. |
long |
BitField.readUnsignedLong(long start,
long numberOfBits)
Reads an unsigned integer with the specified length and returns it as a
long value. |
short |
BitField.readUnsignedShort(long start,
long numberOfBits)
Reads an unsigned integer with the specified length and returns it as a
short value. |
void |
BitField.removeBits(long start,
long numberOfBits)
Removes the specified number of bits from the specified position of the bit field and moves all bits
with indices
>= start + numberOfBits to the left. |
void |
BitField.writeBoolean(boolean value,
long position)
Sets the bit at the specified position according the specified boolean value.
|
void |
BitField.writeByte(byte value,
long start,
long numberOfBits) |
void |
BitField.writeInt(int value,
long start,
long numberOfBits) |
void |
BitField.writeLong(long value,
long start,
long numberOfBits) |
void |
BitField.writeShort(short value,
long start,
long numberOfBits) |
void |
BitField.writeUnsignedByte(byte value,
long start,
long numberOfBits) |
void |
BitField.writeUnsignedInt(int value,
long start,
long numberOfBits) |
void |
BitField.writeUnsignedLong(long value,
long start,
long numberOfBits) |
void |
BitField.writeUnsignedShort(short value,
long start,
long numberOfBits) |