Class VersionUtils


  • public class VersionUtils
    extends Object
    • Field Detail

      • DELIMITER_REGEX

        public static String DELIMITER_REGEX
    • Constructor Detail

      • VersionUtils

        public VersionUtils()
    • Method Detail

      • equalMmm

        public static boolean equalMmm​(String v1,
                                       String v2,
                                       VersionStream stream)
        Do given versions belong to the same stream stream? E.g.: "1.1.2" and 1.1.3" belong to the same MINOR stream, but not into the same MICRO stream.