public static final class JavaVersionParser.JavaVersion extends Object implements Comparable<JavaVersionParser.JavaVersion>
Modifier and Type | Field and Description |
---|---|
static JavaVersionParser.JavaVersion |
UNKNOWN |
Constructor and Description |
---|
JavaVersion(Integer majorVersionFamily,
Integer majorVersion,
Integer maintenanceNumber,
Integer updateNumber) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(JavaVersionParser.JavaVersion other) |
boolean |
equals(Object obj) |
JavaVersionParser.KnownJavaVersions |
getKnownVersion() |
Integer |
getMaintenanceNumber() |
Integer |
getMajorVersion() |
Integer |
getMajorVersionFamily() |
String |
getMajorVersionString() |
Integer |
getUpdateNumber() |
int |
hashCode() |
public static final JavaVersionParser.JavaVersion UNKNOWN
public Integer getMajorVersionFamily()
public Integer getMajorVersion()
public String getMajorVersionString()
public Integer getMaintenanceNumber()
public Integer getUpdateNumber()
public JavaVersionParser.KnownJavaVersions getKnownVersion()
JavaVersionParser.KnownJavaVersions
representing the major version of the Java version if
it's identifiablepublic int compareTo(JavaVersionParser.JavaVersion other)
compareTo
in interface Comparable<JavaVersionParser.JavaVersion>
Copyright © 2024. All rights reserved.