public static enum HardwareTypeEnum.ConcreteHardwareTypeEnum extends Enum<HardwareTypeEnum.ConcreteHardwareTypeEnum>
Enum Constant and Description |
---|
EM250 |
EM357 |
MMB_INVALID_VALUE |
STM32W108 |
Modifier and Type | Method and Description |
---|---|
static HardwareTypeEnum.ConcreteHardwareTypeEnum |
get(byte v) |
byte |
getCode() |
String |
getLabel() |
static HardwareTypeEnum.ConcreteHardwareTypeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HardwareTypeEnum.ConcreteHardwareTypeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HardwareTypeEnum.ConcreteHardwareTypeEnum EM250
public static final HardwareTypeEnum.ConcreteHardwareTypeEnum EM357
public static final HardwareTypeEnum.ConcreteHardwareTypeEnum STM32W108
public static final HardwareTypeEnum.ConcreteHardwareTypeEnum MMB_INVALID_VALUE
public static HardwareTypeEnum.ConcreteHardwareTypeEnum[] values()
for (HardwareTypeEnum.ConcreteHardwareTypeEnum c : HardwareTypeEnum.ConcreteHardwareTypeEnum.values()) System.out.println(c);
public static HardwareTypeEnum.ConcreteHardwareTypeEnum 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 static HardwareTypeEnum.ConcreteHardwareTypeEnum get(byte v)
public byte getCode()
public String getLabel()
Copyright © 2016. All rights reserved.