public enum ARFFType extends Enum<ARFFType>
Enum Constant and Description |
---|
DATE |
INTEGER |
NOMINAL |
NUMERIC |
REAL |
STRING |
Modifier and Type | Method and Description |
---|---|
String |
getIndicator() |
String |
getLabel(String line) |
static String |
removeQuotes(String str)
Remove quotes and leading/trailing whitespace from a single or double quoted string
|
static ARFFType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ARFFType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ARFFType NUMERIC
public static final ARFFType INTEGER
public static final ARFFType REAL
public static final ARFFType NOMINAL
public static final ARFFType DATE
public static final ARFFType STRING
public static ARFFType[] values()
for (ARFFType c : ARFFType.values()) System.out.println(c);
public static ARFFType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getIndicator()
Copyright © 2008–2017 The Apache Software Foundation. All rights reserved.