public class NumericAttribute extends Attribute
Attribute.Type| Constructor and Description |
|---|
NumericAttribute(java.lang.String name)
Constructor.
|
NumericAttribute(java.lang.String name,
double weight)
Constructor.
|
NumericAttribute(java.lang.String name,
java.lang.String description)
Constructor.
|
NumericAttribute(java.lang.String name,
java.lang.String description,
double weight)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
toString(double x)
Returns the string representation of a double value of this attribute.
|
double |
valueOf(java.lang.String s)
Returns the double value of a string of this attribute.
|
public NumericAttribute(java.lang.String name)
public NumericAttribute(java.lang.String name,
double weight)
public NumericAttribute(java.lang.String name,
java.lang.String description)
public NumericAttribute(java.lang.String name,
java.lang.String description,
double weight)
public java.lang.String toString(double x)
AttributetoString in class Attributex - a double value of this attribute. NaN means missing value.public double valueOf(java.lang.String s)
throws java.text.ParseException
Attribute