|
|
|||||||||||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WekaAttribute<W extends WekaAttribute<W>>
A WekaAttribute - an implementing class may be either a nominal, numeric, or string attribute.
Field Summary | |
---|---|
static String |
NOMINAL
Key word for a nominal attribute. |
static String |
NUMERIC
Key word for a numeric attribute. |
static String |
STRING
Key word for a string attribute. |
Method Summary | |
---|---|
boolean |
equals(Object o)
To attributes are considered to be equal, if they are of the same type and the comparison by compareTo results in 0. |
String |
getType()
Returns the type of the attribute. |
String |
getValue()
Returns the value as String representation. |
boolean |
isNominal()
Returns whether the attribute is weka nominal. |
boolean |
isNumeric()
Returns whether the attribute is weka numeric. |
boolean |
isString()
Returns whether the attribute is weka string. |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Field Detail |
---|
static final String NOMINAL
static final String NUMERIC
static final String STRING
Method Detail |
---|
String getType()
String getValue()
boolean isNominal()
boolean isString()
boolean isNumeric()
boolean equals(Object o)
equals
in class Object
o
- another object to test for equality
this.compareTo((W)o)==0
.
|
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |