Package repast.simphony.data2.engine
Enum DataSetDescriptor.DataSetType
- java.lang.Object
-
- java.lang.Enum<DataSetDescriptor.DataSetType>
-
- repast.simphony.data2.engine.DataSetDescriptor.DataSetType
-
- All Implemented Interfaces:
Serializable
,Comparable<DataSetDescriptor.DataSetType>
- Enclosing class:
- DataSetDescriptor
public static enum DataSetDescriptor.DataSetType extends Enum<DataSetDescriptor.DataSetType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AGGREGATE
NON_AGGREGATE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DataSetDescriptor.DataSetType
valueOf(String name)
Returns the enum constant of this type with the specified name.static DataSetDescriptor.DataSetType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AGGREGATE
public static final DataSetDescriptor.DataSetType AGGREGATE
-
NON_AGGREGATE
public static final DataSetDescriptor.DataSetType NON_AGGREGATE
-
-
Method Detail
-
values
public static DataSetDescriptor.DataSetType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (DataSetDescriptor.DataSetType c : DataSetDescriptor.DataSetType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DataSetDescriptor.DataSetType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
-