Package repast.simphony.integration
Enum Class DataFileElements
- All Implemented Interfaces:
Serializable
,Comparable<DataFileElements>
,java.lang.constant.Constable
Class that holds the elements and attributes of those elements in a data file descriptor. The
elements are specified by the enum values in this enumeration. The attributes are specified as
inner classes of the name TAG_ATTRS. This unfortunate way of doing this is necessary since enum
values cannot have nested static values inside of them.
- Author:
- Jerry Vos
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
static final class
static final class
static final class
static final class
static final class
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic int
getTag()
Retrieves the tag for this type of element.static DataFileElements
Returns the enum constant of this class with the specified name.static DataFileElements[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FILE_DEF
-
DATA
-
RECORD
-
ARRAY
-
BRANCH
-
TABLE
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getTag
Retrieves the tag for this type of element.- Returns:
- the element's tag
-
getInt
-