public enum StructureType extends java.lang.Enum<StructureType>
Enum Constant and Description |
---|
BANK
Bank structure.
|
SEGMENT
Segment structure.
|
TAGSEGMENT
Tag segment structure.
|
UNKNOWN32
Unknown structure.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getName(int val)
Obtain the name from the value.
|
static StructureType |
getStructureType(int val)
Obtain the enum from the value.
|
int |
getValue()
Get the enum's value.
|
static StructureType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static StructureType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StructureType UNKNOWN32
public static final StructureType TAGSEGMENT
public static final StructureType SEGMENT
public static final StructureType BANK
public static StructureType[] values()
for (StructureType c : StructureType.values()) System.out.println(c);
public static StructureType 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 getValue()
public static java.lang.String getName(int val)
val
- the value to match.public static StructureType getStructureType(int val)
val
- the value to match.null
.