Package daikon
Enum FileIO.RecordType
- Object
-
- Enum<FileIO.RecordType>
-
- RecordType
-
- All Implemented Interfaces:
Serializable
,Comparable<FileIO.RecordType>
- Enclosing class:
- FileIO
public static enum FileIO.RecordType extends Enum<FileIO.RecordType>
The type of the record that was most recently read.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMMENT
COMPARABILITY
DECL
DECL_VERSION
EOF
ERROR
INPUT_LANGUAGE
LIST_IMPLEMENTORS
NULL
SAMPLE
TRUNCATED
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FileIO.RecordType
valueOf(String name)
Returns the enum constant of this type with the specified name.static FileIO.RecordType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SAMPLE
public static final FileIO.RecordType SAMPLE
-
DECL
public static final FileIO.RecordType DECL
-
DECL_VERSION
public static final FileIO.RecordType DECL_VERSION
-
COMPARABILITY
public static final FileIO.RecordType COMPARABILITY
-
LIST_IMPLEMENTORS
public static final FileIO.RecordType LIST_IMPLEMENTORS
-
INPUT_LANGUAGE
public static final FileIO.RecordType INPUT_LANGUAGE
-
NULL
public static final FileIO.RecordType NULL
-
COMMENT
public static final FileIO.RecordType COMMENT
-
EOF
public static final FileIO.RecordType EOF
-
TRUNCATED
public static final FileIO.RecordType TRUNCATED
-
ERROR
public static final FileIO.RecordType ERROR
-
-
Method Detail
-
values
public static FileIO.RecordType[] 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 (FileIO.RecordType c : FileIO.RecordType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FileIO.RecordType 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
-
-