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 {@code 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 {@code String.compareTo}). @param other The {@code Version} object to be compared. @return A negative integer, zero, or a positive integer if this versionis less than, equal to, or greater than the specified {@code Version} object. @throws ClassCastException If the specified object is not a{@code Version} object.
|
|
|
|