public static enum McMessageUtils.PAYLOAD_TYPE extends Enum<McMessageUtils.PAYLOAD_TYPE>
Enum Constant and Description |
---|
PL_BOOLEAN |
PL_DOUBLE |
PL_GPS |
PL_HEX |
PL_LONG |
PL_STRING |
Modifier and Type | Method and Description |
---|---|
static McMessageUtils.PAYLOAD_TYPE |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static McMessageUtils.PAYLOAD_TYPE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final McMessageUtils.PAYLOAD_TYPE PL_DOUBLE
public static final McMessageUtils.PAYLOAD_TYPE PL_BOOLEAN
public static final McMessageUtils.PAYLOAD_TYPE PL_HEX
public static final McMessageUtils.PAYLOAD_TYPE PL_STRING
public static final McMessageUtils.PAYLOAD_TYPE PL_LONG
public static final McMessageUtils.PAYLOAD_TYPE PL_GPS
public static McMessageUtils.PAYLOAD_TYPE[] values()
for (McMessageUtils.PAYLOAD_TYPE c : McMessageUtils.PAYLOAD_TYPE.values()) System.out.println(c);
public static McMessageUtils.PAYLOAD_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 © 2015–2019. All rights reserved.