@Test public void testLessThan() { assertFalse(Addresses.lessThan(1, 0)); assertFalse(Addresses.lessThan(Long.MAX_VALUE, Long.MAX_VALUE - 1)); assertTrue(Addresses.lessThan(7, 8)); assertFalse(Addresses.lessThan(0xFFFFFFFFFFFFFFFFL, 0)); assertFalse(Addresses .lessThan(0xFFFFFFFFFFFFFFFFL, 0xFFFFFFFFFFFFFFFEL)); assertFalse(Addresses.lessThan(0xFFFFFFFFFFFFFFFFL, 47)); assertFalse(Addresses .lessThan(0xFFFFFFFFFFFFFFFFL, 0xFFFFFFFFFFFFFFFFL)); assertTrue(Addresses.lessThan(0xFFFFFFFFFFFFFFFEL, 0xFFFFFFFFFFFFFFFFL)); assertTrue(Addresses.lessThan(0, 0xFFFFFFFFFFFFFFFFL)); assertFalse(Addresses.lessThan(1, 1)); assertFalse(Addresses.lessThan(0xFFFFFFFFFFFFFFFFL, Long.MAX_VALUE)); }
public static boolean lessThan(long a, long b) { if (signBitsSame(a, b)) { return a < b; } else { return a > b; } }
Addresses { public static boolean lessThan(long a, long b) { if (signBitsSame(a, b)) { return a < b; } else { return a > b; } } }
Addresses { public static boolean lessThan(long a, long b) { if (signBitsSame(a, b)) { return a < b; } else { return a > b; } }  }
Addresses { public static boolean lessThan(long a, long b) { if (signBitsSame(a, b)) { return a < b; } else { return a > b; } }  static boolean greaterThan(long a, long b); static boolean greaterThanOrEqual(long a, long b); static boolean lessThan(long a, long b); static boolean lessThanOrEqual(long a, long b); }
Addresses { public static boolean lessThan(long a, long b) { if (signBitsSame(a, b)) { return a < b; } else { return a > b; } }  static boolean greaterThan(long a, long b); static boolean greaterThanOrEqual(long a, long b); static boolean lessThan(long a, long b); static boolean lessThanOrEqual(long a, long b);  }