Compares the two specified int values, treating them as unsigned values between 0 and 2^32 - 1 inclusive. @param a the first unsigned int to compare @param b the second unsigned int to compare @return a negative value if a is less than b; a po
(int a, int b)
| 68 | |
| 69 | |
| 70 | public static int compare(int a, int b) { |
| 71 | return Ints.compare(flip(a), flip(b)); |
| 72 | } |
| 73 | |
| 74 | /** |
| 75 | * Returns the value of the given {@code int} as a {@code long}, when treated as unsigned. |