Package adams.data.conversion
Enum SpreadSheetBinarize.BinarizeType
- java.lang.Object
-
- java.lang.Enum<SpreadSheetBinarize.BinarizeType>
-
- adams.data.conversion.SpreadSheetBinarize.BinarizeType
-
- All Implemented Interfaces:
Serializable
,Comparable<SpreadSheetBinarize.BinarizeType>
- Enclosing class:
- SpreadSheetBinarize
public static enum SpreadSheetBinarize.BinarizeType extends Enum<SpreadSheetBinarize.BinarizeType>
How to binarize the data.- Version:
- $Revision: 8614 $
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SpreadSheetBinarize.BinarizeType
valueOf(String name)
Returns the enum constant of this type with the specified name.static SpreadSheetBinarize.BinarizeType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NUMERIC
public static final SpreadSheetBinarize.BinarizeType NUMERIC
using 1s and 0s.
-
BOOLEAN
public static final SpreadSheetBinarize.BinarizeType BOOLEAN
using booleans.
-
LABELS
public static final SpreadSheetBinarize.BinarizeType LABELS
using string labels.
-
-
Method Detail
-
values
public static SpreadSheetBinarize.BinarizeType[] 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 (SpreadSheetBinarize.BinarizeType c : SpreadSheetBinarize.BinarizeType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SpreadSheetBinarize.BinarizeType 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
-
-