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