classifier
Enum Classifier.DATA_TYPE
java.lang.Object
java.lang.Enum<Classifier.DATA_TYPE>
classifier.Classifier.DATA_TYPE
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<Classifier.DATA_TYPE>
- Enclosing interface:
- Classifier
public static enum Classifier.DATA_TYPE
- extends java.lang.Enum<Classifier.DATA_TYPE>
The possible types of data: POSITIVE_DATA indicates that the source is
positive training data. NEGATIVE_DATA indicates that the source is
negative training data. UNCLASSIFIED_DATA indicates that the source
is a DNA-sequence, that is to be evaluated.
Method Summary |
static Classifier.DATA_TYPE |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Classifier.DATA_TYPE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
Methods inherited from class java.lang.Enum |
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
POSITIVE_DATA
public static final Classifier.DATA_TYPE POSITIVE_DATA
NEGATIVE_DATA
public static final Classifier.DATA_TYPE NEGATIVE_DATA
UNCLASSIFIED_DATA
public static final Classifier.DATA_TYPE UNCLASSIFIED_DATA
values
public static Classifier.DATA_TYPE[] 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 (Classifier.DATA_TYPE c : Classifier.DATA_TYPE.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Classifier.DATA_TYPE valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null