Uses of Enum
org.apache.commons.lang3.JavaVersion
Packages that use JavaVersion
Package
Description
Provides highly reusable static utility methods, chiefly concerned with adding value to the
java.lang
classes.-
Uses of JavaVersion in org.apache.commons.lang3
Methods in org.apache.commons.lang3 that return JavaVersionModifier and TypeMethodDescriptionstatic JavaVersion
Returns the enum constant of this type with the specified name.static JavaVersion[]
JavaVersion.values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.apache.commons.lang3 with parameters of type JavaVersionModifier and TypeMethodDescriptionboolean
JavaVersion.atLeast
(JavaVersion requiredVersion) Tests whether this version of Java is at least the version of Java passed in.boolean
JavaVersion.atMost
(JavaVersion requiredVersion) Tests whether this version of Java is at most the version of Java passed in.static boolean
SystemUtils.isJavaVersionAtLeast
(JavaVersion requiredVersion) Is the Java version at least the requested version.static boolean
SystemUtils.isJavaVersionAtMost
(JavaVersion requiredVersion) Is the Java version at most the requested version.