protected static enum VersionType.VersionTypeEnum extends Enum<VersionType.VersionTypeEnum>
Enum Constant and Description |
---|
CHARACTER_STRING |
LSB_BINARY_TYPE_FOUR_BYTES |
LSB_BINARY_TYPE_TWO_BYTES |
MSB_BINARY_TYPE_FOUR_BYTES |
Modifier and Type | Method and Description |
---|---|
static VersionType.VersionTypeEnum |
get(byte id) |
static VersionType.VersionTypeEnum |
get(Class<? extends ASerialType> clazz) |
byte |
getId() |
ASerialType |
getInstance() |
static VersionType.VersionTypeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VersionType.VersionTypeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VersionType.VersionTypeEnum LSB_BINARY_TYPE_FOUR_BYTES
public static final VersionType.VersionTypeEnum MSB_BINARY_TYPE_FOUR_BYTES
public static final VersionType.VersionTypeEnum CHARACTER_STRING
public static final VersionType.VersionTypeEnum LSB_BINARY_TYPE_TWO_BYTES
public static VersionType.VersionTypeEnum[] values()
for (VersionType.VersionTypeEnum c : VersionType.VersionTypeEnum.values()) System.out.println(c);
public static VersionType.VersionTypeEnum 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 byte getId()
public ASerialType getInstance()
public static VersionType.VersionTypeEnum get(byte id)
public static VersionType.VersionTypeEnum get(Class<? extends ASerialType> clazz)
Copyright © 2016. All rights reserved.