### Question:
Integers { public static int reverse(int i) { i = (i & 0x55555555) << 1 | (i >> 1) & 0x55555555; i = (i & 0x33333333) << 2 | (i >> 2) & 0x33333333; i = (i & 0x0F0F0F0F) << 4 | (i >> 4) & 0x0F0F0F0F; return reverseBytes(i); }  static int decode(String string); static int parseInt(String string); static int parseInt(String string, int radix); static String toBinaryString(int i); static String toHexString(int i); static String toDecimalString(int value); static String toString(int value); static int highestOneBit(int i); static int lowestOneBit(int i); static int numberOfLeadingZeros(int i); static int numberOfTrailingZeros(int i); static int bitCount(int i); static int rotateLeft(int i, int distance); static int rotateRight(int i, int distance); static int reverseBytes(int i); static int reverse(int i); static int digit(char c, int radix); static final int MAX_VALUE; static final int MIN_VALUE; static final int MIN_RADIX; static final int MAX_RADIX; }### Answer:
@Test public void test_reverseI() { assertEquals(-1, Integers.reverse(-1)); assertEquals(0x80000000, Integers.reverse(1)); }