public static enum Platform.OSType extends Enum<Platform.OSType>
Enum Constant and Description |
---|
ANDROID |
FREEBSD |
HPUX |
LINUX |
MACOS |
OPENKODE |
SUNOS |
WINDOWS |
Modifier and Type | Field and Description |
---|---|
int |
id |
Modifier and Type | Method and Description |
---|---|
static Platform.OSType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Platform.OSType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Platform.OSType LINUX
public static final Platform.OSType FREEBSD
public static final Platform.OSType ANDROID
public static final Platform.OSType MACOS
public static final Platform.OSType SUNOS
public static final Platform.OSType HPUX
public static final Platform.OSType WINDOWS
public static final Platform.OSType OPENKODE
public static Platform.OSType[] values()
for (Platform.OSType c : Platform.OSType.values()) System.out.println(c);
public static Platform.OSType 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