Attributes | |
not | Source Codeshared formal Other not The binary complement of this sequence of bits. |
Inherited Attributes |
Attributes inherited from: Object |
Methods | |
and | Source Codeshared formal Other and(Other other) Performs a logical AND operation. |
clear | Source Codeshared default Other clear(Integer index) Returns an instance with the given bit set to 0 if
|
flip | Source Codeshared formal Other flip(Integer index) Returns an instance with the given bit flipped to its
opposite value if |
get | Source Codeshared formal Boolean get(Integer index) Retrieves a given bit from this bit sequence if
|
leftLogicalShift | Source Codeshared formal Other leftLogicalShift(Integer shift) Shift the sequence of bits to the left, by the given number of places, filling the least significant bits with zeroes. |
or | Source Codeshared formal Other or(Other other) Performs a logical inclusive OR operation. |
rightArithmeticShift | Source Codeshared formal Other rightArithmeticShift(Integer shift) Shift the sequence of bits to the right, by the given number of places, preserving the values of the most significant bits. If the sequence of bits represents a signed integer, the sign is preserved. |
rightLogicalShift | Source Codeshared formal Other rightLogicalShift(Integer shift) Shift the sequence of bits to the right, by the given number of places, filling the most significant bits with zeroes. If the sequence of bits represents a signed integer, the sign is not preserved. |
set | Source Codeshared formal Other set(Integer index, Boolean bit = true) Returns an instance with the given bit set to the given
value if Parameters:
|
xor | Source Codeshared formal Other xor(Other other) Performs a logical exclusive OR operation. |
Inherited Methods |
Methods inherited from: Object |