Compares this version with an other version object, up to the specified limit. A limit of 1 compares only the {@linkplain #getMajor() major} version number. A limit of 2 comparesthe major and {@linkplain #getMinor() minor} version numbers, etc.The comparisons are performed as {@link Integer} object if possible, or as {@link String}otherwise.
@param other The other version object to compare with.
@param limit The maximum number of components to compare.
@return A negative value if this version is lower than the supplied version, a positivevalue if it is higher, or 0 if they are equal.
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.