public enum IntelHexRecordType extends java.lang.Enum<IntelHexRecordType>
Enum Constant and Description |
---|
DATA |
EOF |
EXT_LIN |
EXT_SEG |
START_LIN |
START_SEG |
UNKNOWN |
Modifier and Type | Method and Description |
---|---|
static IntelHexRecordType |
fromInt(int id) |
int |
toInt() |
static IntelHexRecordType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IntelHexRecordType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IntelHexRecordType DATA
public static final IntelHexRecordType EOF
public static final IntelHexRecordType EXT_SEG
public static final IntelHexRecordType START_SEG
public static final IntelHexRecordType EXT_LIN
public static final IntelHexRecordType START_LIN
public static final IntelHexRecordType UNKNOWN
public static IntelHexRecordType[] values()
for (IntelHexRecordType c : IntelHexRecordType.values()) System.out.println(c);
public static IntelHexRecordType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int toInt()
public static IntelHexRecordType fromInt(int id)