public static enum SysInfo.OS extends Enum<SysInfo.OS>
Modifier and Type | Method and Description |
---|---|
static SysInfo.OS |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SysInfo.OS[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SysInfo.OS LINUX
public static final SysInfo.OS SUNOS
public static final SysInfo.OS AIX
public static final SysInfo.OS MACOSX
public static final SysInfo.OS WINDOWS
public static SysInfo.OS[] values()
for (SysInfo.OS c : SysInfo.OS.values()) System.out.println(c);
public static SysInfo.OS valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null