public enum DeviceModel extends Enum<DeviceModel>
| Enum Constant and Description |
|---|
samsung_galaxy_s |
samsung_galaxy_s_2 |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getModels() |
static DeviceModel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DeviceModel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DeviceModel samsung_galaxy_s_2
public static final DeviceModel samsung_galaxy_s
public static DeviceModel[] values()
for (DeviceModel c : DeviceModel.values()) System.out.println(c);
public static DeviceModel 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 © 2014 se.solovyev. All Rights Reserved.