public enum FormFactor extends Enum<FormFactor>
| Enum Constant and Description |
|---|
Large
Enumeration : Large
|
Medium
Enumeration : Medium
|
Small
Enumeration : Small
|
| Modifier and Type | Field and Description |
|---|---|
static Map<String,String> |
valuesToEnums |
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static FormFactor |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FormFactor[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FormFactor Small
public static final FormFactor Medium
public static final FormFactor Large
public static FormFactor[] values()
for (FormFactor c : FormFactor.values()) System.out.println(c);
public static FormFactor 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 nullpublic String toString()
toString in class Enum<FormFactor>Copyright © 2017. All Rights Reserved.