public static enum Device.TYPE extends Enum<Device.TYPE>
Modifier and Type | Field and Description |
---|---|
int |
rank
Heuristic ranking of device types, lower is better.
|
Modifier and Type | Method and Description |
---|---|
static Device.TYPE |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Device.TYPE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Device.TYPE UNKNOWN
public static final Device.TYPE GPU
public static final Device.TYPE CPU
public static final Device.TYPE JTP
public static final Device.TYPE SEQ
public static final Device.TYPE ACC
public static final Device.TYPE ALT
public static Device.TYPE[] values()
for (Device.TYPE c : Device.TYPE.values()) System.out.println(c);
public static Device.TYPE 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 © 2016 Syncleus. All rights reserved.