public enum MEITypeCode extends Enum<MEITypeCode>
| Enum Constant and Description |
|---|
CAN_OPEN_PDU |
READ_DEVICE_IDENTIFICATION |
RESERVED |
| Modifier and Type | Method and Description |
|---|---|
static MEITypeCode |
get(int value) |
int |
toInt() |
String |
toString() |
static MEITypeCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MEITypeCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MEITypeCode CAN_OPEN_PDU
public static final MEITypeCode READ_DEVICE_IDENTIFICATION
public static final MEITypeCode RESERVED
public static MEITypeCode[] values()
for (MEITypeCode c : MEITypeCode.values()) System.out.println(c);
public static MEITypeCode 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 MEITypeCode get(int value)
public int toInt()
public String toString()
toString in class Enum<MEITypeCode>Copyright © 2018. All rights reserved.