|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<StructureType>
org.jlab.coda.jevio.StructureType
public enum StructureType
This an enum used to convert structure type numerical values to a more meaningful name. For example, the structure type with value 0xe corresponds to the enum BANK. Mostly this is used for printing.
| Enum Constant Summary | |
|---|---|
BANK
|
|
SEGMENT
|
|
TAGSEGMENT
|
|
UNKNOWN32
|
|
| Method Summary | |
|---|---|
static java.lang.String |
getName(int value)
Obtain the name from the value. |
static StructureType |
getStructureType(int value)
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. |
| Methods inherited from class java.lang.Enum |
|---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final StructureType UNKNOWN32
public static final StructureType TAGSEGMENT
public static final StructureType SEGMENT
public static final StructureType BANK
| Method Detail |
|---|
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 name
java.lang.NullPointerException - if the argument is nullpublic int getValue()
public static java.lang.String getName(int value)
value - the value to match.
public static StructureType getStructureType(int value)
value - the value to match.
null.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||