Package adams.data.io.input
Enum SimpleArffSpreadSheetReader.AttributeType
- java.lang.Object
-
- java.lang.Enum<SimpleArffSpreadSheetReader.AttributeType>
-
- adams.data.io.input.SimpleArffSpreadSheetReader.AttributeType
-
- All Implemented Interfaces:
Serializable
,Comparable<SimpleArffSpreadSheetReader.AttributeType>
- Enclosing class:
- SimpleArffSpreadSheetReader
public static enum SimpleArffSpreadSheetReader.AttributeType extends Enum<SimpleArffSpreadSheetReader.AttributeType>
Attribute types.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SimpleArffSpreadSheetReader.AttributeType
valueOf(String name)
Returns the enum constant of this type with the specified name.static SimpleArffSpreadSheetReader.AttributeType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NUMERIC
public static final SimpleArffSpreadSheetReader.AttributeType NUMERIC
-
NOMINAL
public static final SimpleArffSpreadSheetReader.AttributeType NOMINAL
-
STRING
public static final SimpleArffSpreadSheetReader.AttributeType STRING
-
DATE
public static final SimpleArffSpreadSheetReader.AttributeType DATE
-
-
Method Detail
-
values
public static SimpleArffSpreadSheetReader.AttributeType[] 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 (SimpleArffSpreadSheetReader.AttributeType c : SimpleArffSpreadSheetReader.AttributeType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SimpleArffSpreadSheetReader.AttributeType 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
-
-