Package adams.data.featureconverter
Enum FixedNumFeatures.FillerType
- java.lang.Object
-
- java.lang.Enum<FixedNumFeatures.FillerType>
-
- adams.data.featureconverter.FixedNumFeatures.FillerType
-
- All Implemented Interfaces:
Serializable
,Comparable<FixedNumFeatures.FillerType>
- Enclosing class:
- FixedNumFeatures
public static enum FixedNumFeatures.FillerType extends Enum<FixedNumFeatures.FillerType>
Enumeration on how to fill in values if base converter generates too little data points.- Version:
- $Revision$
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FILLER_BOOLEAN
use a boolean value.FILLER_NUMERIC
use a numeric value.FILLER_STRING
use a string value.FIRST_VALUE
uses the first value as template.LAST_VALUE
uses the last value as template.MISSING_BOOLEAN
missing boolean value.MISSING_NUMERIC
missing numeric value.MISSING_STRING
missing string value.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FixedNumFeatures.FillerType
valueOf(String name)
Returns the enum constant of this type with the specified name.static FixedNumFeatures.FillerType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MISSING_NUMERIC
public static final FixedNumFeatures.FillerType MISSING_NUMERIC
missing numeric value.
-
MISSING_STRING
public static final FixedNumFeatures.FillerType MISSING_STRING
missing string value.
-
MISSING_BOOLEAN
public static final FixedNumFeatures.FillerType MISSING_BOOLEAN
missing boolean value.
-
FILLER_NUMERIC
public static final FixedNumFeatures.FillerType FILLER_NUMERIC
use a numeric value.
-
FILLER_STRING
public static final FixedNumFeatures.FillerType FILLER_STRING
use a string value.
-
FILLER_BOOLEAN
public static final FixedNumFeatures.FillerType FILLER_BOOLEAN
use a boolean value.
-
FIRST_VALUE
public static final FixedNumFeatures.FillerType FIRST_VALUE
uses the first value as template.
-
LAST_VALUE
public static final FixedNumFeatures.FillerType LAST_VALUE
uses the last value as template.
-
-
Method Detail
-
values
public static FixedNumFeatures.FillerType[] 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 (FixedNumFeatures.FillerType c : FixedNumFeatures.FillerType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FixedNumFeatures.FillerType 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
-
-