Holds a version number as a sequence of strings separated by either a dot or a dash. The first three strings, usually numbers, are called respectively {@linkplain #getMajor() major}, {@linkplain #getMinor() minor} and {@linkplain #getRevision() revision}. For example a version code such as {@code "6.11.2"} will have major number 6, minornumber 11 and revision number 2. Alternatively a version code such as {@code "3.18-SNAPSHOT"}will have major version number 3, minor version number 18 and revision string "SNAPSHOT".
This class provides methods for performing comparisons of {@code Version} objects where major,minor and revision parts are compared as numbers when possible, or as strings otherwise.
@author Martin Desruisseaux (IRD)
@since 0.3 (derived from geotk-2.4)
@version 0.3
@module