### Question:
KeyComparator implements Comparator<byte[]> { @Override public int compare(byte[] a, byte[] b) { for (int i = 1; i < SIZE_OF_KEY; i++) { int thisByte = 0xFF & a[i]; int thatByte = 0xFF & b[i]; if (thisByte != thatByte) { return (thisByte) - (thatByte); } } return 0; }  @Override int compare(byte[] a, byte[] b); static final KeyComparator COMPARATOR; }### Answer:
@Test public void test() { byte[] bytes1 = BytewiseUtil.hexStringToByteArray("00 12 22 33 44 CC FF EE"); byte[] bytes2 = BytewiseUtil.hexStringToByteArray("00 12 22 33 44 CC FF EE"); long n1 = BytewiseUtil.fromBytes(bytes1); System.out.println(UnsignedLongKeyComparator.compare(bytes2, n1)); }