模块 mxlib.api

类 Version

    • 方法详细资料

      • checkThrow

        public static void checkThrow​(String ver)
      • check

        public static boolean check​(String ver)
      • getMetadata

        public String getMetadata()
      • main

        public static void main​(String[] args)
      • compare

        public static int compare​(String c,
                                  String d)
        Compare the version
        参数:
        c - The current version
        d - Be compare version
        返回:
        The compare result
      • getPreReleaseVersion

        public Object[] getPreReleaseVersion()
        int / String
        返回:
        int[] / String[]
      • toSemanticVersion

        public String toSemanticVersion()
      • getNormalVersion

        public int[] getNormalVersion()
      • hashCode

        public int hashCode()
        覆盖:
        hashCode 在类中 Object