@Test public void testInterpretUnsigned() { assertTrue((byte) 0 == BinaryComparableUtils.unsigned((byte) -128)); assertTrue((byte) 127 == BinaryComparableUtils.unsigned((byte) -1)); assertTrue((byte) -128 == BinaryComparableUtils.unsigned((byte) 0)); assertTrue((byte) -127 == BinaryComparableUtils.unsigned((byte) 1)); assertTrue((byte) -1 == BinaryComparableUtils.unsigned((byte) 127)); assertTrue((byte) 1 == BinaryComparableUtils.unsigned((byte) -127)); }
static byte[] unsigned(byte[] key) { key[0] = unsigned(key[0]); return key; }
BinaryComparableUtils { static byte[] unsigned(byte[] key) { key[0] = unsigned(key[0]); return key; } }
BinaryComparableUtils { static byte[] unsigned(byte[] key) { key[0] = unsigned(key[0]); return key; } private  BinaryComparableUtils(); }
BinaryComparableUtils { static byte[] unsigned(byte[] key) { key[0] = unsigned(key[0]); return key; } private  BinaryComparableUtils();  }
BinaryComparableUtils { static byte[] unsigned(byte[] key) { key[0] = unsigned(key[0]); return key; } private  BinaryComparableUtils();   }