Class JavaVersion

    • Constructor Detail

      • JavaVersion

        public JavaVersion​(String v)
    • Method Detail

      • getVMVersion

        public static JavaVersion getVMVersion()
      • getREVersion

        public static JavaVersion getREVersion()
      • isJava12OrLater

        public static boolean isJava12OrLater()
      • isJava11OrLater

        public static boolean isJava11OrLater()
      • isJava10OrLater

        public static boolean isJava10OrLater()
      • isJava9OrLater

        public static boolean isJava9OrLater()
      • isJava8OrLater

        public static boolean isJava8OrLater()
      • isJava7OrLater

        public static boolean isJava7OrLater()
      • isJava6OrLater

        public static boolean isJava6OrLater()
      • isJava6

        public static boolean isJava6()
      • isJava7

        public static boolean isJava7()
      • isJava8

        public static boolean isJava8()
      • isJava9

        public static boolean isJava9()
      • isJava10

        public static boolean isJava10()
      • isJava11

        public static boolean isJava11()
      • isJava12

        public static boolean isJava12()
      • getMajor

        public int getMajor()
      • getMinor

        public int getMinor()
      • getSecurity

        public int getSecurity()
      • getPatch

        public int getPatch()
      • getBuild

        public int getBuild()
      • getVersionString

        public String getVersionString()
      • isLowerThan

        public boolean isLowerThan​(JavaVersion javaVersion)
      • isGreaterThan

        public boolean isGreaterThan​(JavaVersion javaVersion)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object