public static enum Device.DeviceType extends java.lang.Enum<Device.DeviceType>
| Enum Constant and Description | 
|---|
ACCELEARTOR  | 
ALL  | 
CPU  | 
DEFAULT  | 
GPU  | 
| Modifier and Type | Method and Description | 
|---|---|
static Device.DeviceType | 
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. 
 | 
static Device.DeviceType[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final Device.DeviceType DEFAULT
public static final Device.DeviceType CPU
public static final Device.DeviceType GPU
public static final Device.DeviceType ACCELEARTOR
public static final Device.DeviceType ALL
public static Device.DeviceType[] values()
for (Device.DeviceType c : Device.DeviceType.values()) System.out.println(c);
public static Device.DeviceType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null