Enum Class RawSheetCol
- All Implemented Interfaces:
Serializable
,Comparable<RawSheetCol>
,Constable
Column types in raw sheet
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAlgorithm nameBest known value for instance name in same row%Dev to best value.Instance nameTrue if score is best known for instanceIterationScoreTotal time in secondsTime to best in seconds -
Method Summary
Modifier and TypeMethodDescriptiongetCType()
Get column type hintstatic RawSheetWriter.CType
getCTypeForIndex
(int index) Get enum value for a given column indexGet column index as Excel lettersint
getIndex()
Get column index for orderinggetName()
Get column namestatic RawSheetCol
Returns the enum constant of this class with the specified name.static RawSheetCol[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INSTANCE_NAME
Instance name -
ALG_NAME
Algorithm name -
ITERATION
Iteration -
SCORE
Score -
TOTAL_TIME
Total time in seconds -
TTB
Time to best in seconds -
IS_BEST_KNOWN
True if score is best known for instance -
DEV_TO_BEST
%Dev to best value. Should be 0 if is best known. -
BEST_KNOWN_FOR_INSTANCE
Best known value for instance name in same row
-
-
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
-
getIndex
public int getIndex()Get column index for ordering- Returns:
- column index as int
-
getExcelColIndex
Get column index as Excel letters- Returns:
- column index as string (i.e AB)
-
getName
Get column name- Returns:
- column name
-
getCType
Get column type hint- Returns:
- column type hint
-
getCTypeForIndex
Get enum value for a given column index- Parameters:
index
- index to search- Returns:
- enum value for given index
-