public class JavaVersion extends java.lang.Object implements java.lang.Comparable<JavaVersion>
| Constructor and Description |
|---|
JavaVersion() |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(JavaVersion other) |
static JavaVersion |
current() |
boolean |
isAtLeast(int feature) |
static JavaVersion |
parse(java.lang.String verison) |
public static JavaVersion current()
public static JavaVersion parse(java.lang.String verison)
public int compareTo(JavaVersion other)
compareTo in interface java.lang.Comparable<JavaVersion>public boolean isAtLeast(int feature)