public enum MobileOperatingSystem extends Enum<MobileOperatingSystem>
Modifier and Type | Method and Description |
---|---|
static MobileOperatingSystem |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MobileOperatingSystem[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MobileOperatingSystem ANDROID
public static final MobileOperatingSystem IOS
public static MobileOperatingSystem[] values()
for (MobileOperatingSystem c : MobileOperatingSystem.values()) System.out.println(c);
public static MobileOperatingSystem 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 nullCopyright 2009-2012 Micro Focus. All Rights Reserved.