Added Methods |
int bitCount(long )
|
Returns the number of one-bits in the two's complement binary
representation of the specified long value. |
long highestOneBit(long )
|
Returns an long value with at most a single one-bit, in the
position of the highest-order ("leftmost") one-bit in the specified
long value. |
long lowestOneBit(long )
|
Returns an long value with at most a single one-bit, in the
position of the lowest-order ("rightmost") one-bit in the specified
long value. |
int numberOfLeadingZeros(long )
|
Returns the number of zero bits preceding the highest-order
("leftmost") one-bit in the two's complement binary representation
of the specified long value. |
int numberOfTrailingZeros(long )
|
Returns the number of zero bits following the lowest-order ("rightmost")
one-bit in the two's complement binary representation of the specified
long value. |
long reverse(long )
|
Returns the value obtained by reversing the order of the bits in the
two's complement binary representation of the specified long
value. |
long reverseBytes(long )
|
Returns the value obtained by reversing the order of the bytes in the
two's complement representation of the specified long value. |
long rotateLeft(long, int)
|
Returns the value obtained by rotating the two's complement binary
representation of the specified long value left by the
specified number of bits. |
long rotateRight(long, int)
|
Returns the value obtained by rotating the two's complement binary
representation of the specified long value right by the
specified number of bits. |
int signum(long )
|
Returns the signum function of the specified long value. |
Long valueOf(long )
|
Returns a Long instance representing the specified
long value. |