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