Class VersionComparator

    • Constructor Detail

      • VersionComparator

        public VersionComparator()
    • Method Detail

      • compare

        public int compare​(String versionString1,
                           String versionString2)
        Compare two version strings.
        Specified by:
        compare in interface Comparator<String>
        Parameters:
        versionString1 - a valid version string (@see Version)
        versionString2 - a valid version string (@see Version)
        Returns:
        the comparison value between the two version strings (@see Comparator)