Compares the first value to the second and returns a value that indicates their relative order.
@param value1 The normalized form of the first value tocompare.
@param value2 The normalized form of the second value tocompare.
@return A negative integer if {@code value1} should come before{@code value2} in ascending order, a positive integer if{@code value1} should come after {@code value2} inascending order, or zero if there is no difference between the values with regard to ordering.
Compares the provided values using this sort key.
@param value1 The first value to be compared.
@param value2 The second value to be compared.
@return A negative value if the first value should come beforethe second in a sorted list, a positive value if the first value should come after the second in a sorted list, or zero if there is no relative difference between the values.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.