equal
deleted
inserted
replaced
1296 * @since 1.5 |
1296 * @since 1.5 |
1297 */ |
1297 */ |
1298 public static final int SIZE = 32; |
1298 public static final int SIZE = 32; |
1299 |
1299 |
1300 /** |
1300 /** |
|
1301 * The number of bytes used to represent a {@code int} value in two's |
|
1302 * complement binary form. |
|
1303 * |
|
1304 * @since 1.8 |
|
1305 */ |
|
1306 public static final int BYTES = SIZE / Byte.SIZE; |
|
1307 |
|
1308 /** |
1301 * Returns an {@code int} value with at most a single one-bit, in the |
1309 * Returns an {@code int} value with at most a single one-bit, in the |
1302 * position of the highest-order ("leftmost") one-bit in the specified |
1310 * position of the highest-order ("leftmost") one-bit in the specified |
1303 * {@code int} value. Returns zero if the specified value has no |
1311 * {@code int} value. Returns zero if the specified value has no |
1304 * one-bits in its two's complement binary representation, that is, if it |
1312 * one-bits in its two's complement binary representation, that is, if it |
1305 * is equal to zero. |
1313 * is equal to zero. |