Compares two tokens and returns an integer. @param value1 first value @param value2 second value @return result
(final byte[] value1, final byte[] value2)
| 578 | * @return result |
| 579 | */ |
| 580 | private static int cmp(final byte[] value1, final byte[] value2) { |
| 581 | return value1 == null ? value2 == null ? 0 : -1 : value2 == null ? 1 : |
| 582 | Token.compare(value1, value2); |
| 583 | } |
| 584 | |
| 585 | /** |
| 586 | * Swaps two array elements. |