public class JavaVersion extends java.lang.Object implements java.lang.Comparable<JavaVersion>
Modifier and Type | Method and Description |
---|---|
int |
compareTo(JavaVersion o) |
static JavaVersion |
current() |
boolean |
equals(java.lang.Object o) |
java.util.List<java.lang.Integer> |
getVersion() |
int |
hashCode() |
static boolean |
isValid(java.lang.String value) |
static JavaVersion |
parse(java.lang.String value) |
java.lang.String |
toString() |
public java.util.List<java.lang.Integer> getVersion()
public static JavaVersion parse(java.lang.String value)
public static boolean isValid(java.lang.String value)
public static JavaVersion current()
public int compareTo(JavaVersion o)
compareTo
in interface java.lang.Comparable<JavaVersion>
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object