Version
object to another object. A version is considered to be less than another version if its major component is less than the other version's major component, or the major components are equal and its minor component is less than the other version's minor component, or the major and minor components are equal and its micro component is less than the other version's micro component, or the major, minor and micro components are equal and it's qualifier component is less than the other version's qualifier component (using String.compareTo
).
A version is considered to be equal to another version if the major, minor and micro components are equal and the qualifier component is equal (using String.compareTo
).
@param object The Version
object to be compared.
@return A negative integer, zero, or a positive integer if this object isless than, equal to, or greater than the specified Version
object.
@throws ClassCastException If the specified object is not aVersion
.
|
|