Enum Class的使用
cn.taketoday.core.JavaVersion
使用JavaVersion的程序包
-
cn.taketoday.core中JavaVersion的使用
返回JavaVersion的cn.taketoday.core中的方法修饰符和类型方法说明static JavaVersionJavaVersion.getJavaVersion()Returns theJavaVersionof the current runtime.static JavaVersionReturns the enum constant of this class with the specified name.static JavaVersion[]JavaVersion.values()Returns an array containing the constants of this enum class, in the order they are declared.参数类型为JavaVersion的cn.taketoday.core中的方法修饰符和类型方法说明booleanJavaVersion.isEqualOrNewerThan(JavaVersion version) Return if this version is equal to or newer than a given version.booleanJavaVersion.isOlderThan(JavaVersion version) Return if this version is older than a given version.