Package | Description |
---|---|
org.apache.commons.lang3 |
Provides highly reusable static utility methods, chiefly concerned with adding value to the
java.lang classes. |
Modifier and Type | Method and Description |
---|---|
static JavaVersion |
JavaVersion.valueOf(String name)
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.
|
Modifier and Type | Method and Description |
---|---|
boolean |
JavaVersion.atLeast(JavaVersion requiredVersion)
Whether this version of Java is at least the version of Java passed in.
|
static boolean |
SystemUtils.isJavaVersionAtLeast(JavaVersion requiredVersion)
Is the Java version at least the requested version.
|
Copyright © 2001–2018 The Apache Software Foundation. All rights reserved.