public enum Platform extends Enum<Platform>
Enum Constant and Description |
---|
AIX |
ANDROID |
HP_UX |
I_OS |
LINUX |
OS_X |
SOLARIS_SPARC |
SOLARIS_X86 |
WINDOWS_DESKTOP |
WINDOWS_SERVER |
Z_LINUX |
Modifier and Type | Method and Description |
---|---|
static Platform |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Platform[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Platform AIX
public static final Platform ANDROID
public static final Platform I_OS
public static final Platform HP_UX
public static final Platform LINUX
public static final Platform OS_X
public static final Platform SOLARIS_SPARC
public static final Platform SOLARIS_X86
public static final Platform WINDOWS_DESKTOP
public static final Platform WINDOWS_SERVER
public static final Platform Z_LINUX
public static Platform[] values()
for (Platform c : Platform.values()) System.out.println(c);
public static Platform 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