public enum LangLevel extends java.lang.Enum<LangLevel>
Enum Constant | Description |
---|---|
JAVA10 |
Java 10 as of JDK 10.x
|
JAVA11 |
Java 11 as of JDK 11.x
|
JAVA6 |
Java 6 as of JDK 1.6.x
|
JAVA7 |
Java 7 as of JDK 1.7.x
|
JAVA8 |
Java 8 as of JDK 1.8.x
|
JAVA9 |
Java 9 as of JDK 9.x
|
Modifier and Type | Method | Description |
---|---|---|
static LangLevel |
parse(java.lang.String value) |
|
java.lang.String |
toString() |
|
static LangLevel |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static LangLevel[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LangLevel JAVA6
public static final LangLevel JAVA7
public static final LangLevel JAVA8
public static final LangLevel JAVA9
public static final LangLevel JAVA10
public static final LangLevel JAVA11
public static LangLevel HIGHEST
public static LangLevel[] values()
for (LangLevel c : LangLevel.values()) System.out.println(c);
public static LangLevel valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String toString()
toString
in class java.lang.Enum<LangLevel>
public static LangLevel parse(java.lang.String value)