public static enum Device.Type extends Enum<Device.Type>
Enum Constant and Description |
---|
BLUEPRINT |
DEVICE_COMBINATION |
INDIVIDUAL_DEVICE |
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 BLUEPRINT
public static final Device.Type DEVICE_COMBINATION
public static final Device.Type INDIVIDUAL_DEVICE
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 © 2017 Tampere University of Technology (TUT) / Laboratory of Mechanical Engineering and Industrial Systems (MEI). All rights reserved.