Modifier and Type | Field and Description |
---|---|
private boolean |
caseInsensitive |
private java.util.Set<java.lang.String> |
illegalNames |
Modifier and Type | Method and Description |
---|---|
java.util.Set<java.lang.String> |
getIllegalNames() |
boolean |
isCaseInsensitive() |
static OsInfo.OS |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OsInfo.OS[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OsInfo.OS WINDOWS
public static final OsInfo.OS OSX
public static final OsInfo.OS OTHER
private boolean caseInsensitive
private java.util.Set<java.lang.String> illegalNames
public static OsInfo.OS[] values()
for (OsInfo.OS c : OsInfo.OS.values()) System.out.println(c);
public static OsInfo.OS 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 boolean isCaseInsensitive()
public java.util.Set<java.lang.String> getIllegalNames()