Compares the two specified long values, treating them as unsigned values between 0 and 2^64 - 1 inclusive. @param a the first unsigned long to compare @param b the second unsigned long to compare @return a negative value if a is less than b; a
(long a, long b)
| 77 | |
| 78 | |
| 79 | public static int compare(long a, long b) { |
| 80 | return Longs.compare(flip(a), flip(b)); |
| 81 | } |
| 82 | |
| 83 | /** |
| 84 | * Returns the least value present in {@code array}, treating values as unsigned. |